added some service interfaces
This commit is contained in:
parent
cac3cd5ea4
commit
74b650dd8e
4 changed files with 48 additions and 0 deletions
11
SurveyLib.Core/Services/ICompletionService.cs
Normal file
11
SurveyLib.Core/Services/ICompletionService.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using SurveyLib.Core.Models;
|
||||
|
||||
namespace SurveyLib.Core.Services;
|
||||
|
||||
public interface ICompletionService
|
||||
{
|
||||
Task<bool> AddCompletionAsync(Completion completion);
|
||||
Task<bool> UpdateCompletionAsync(Completion completion);
|
||||
Task<bool> DeleteCompletionAsync(int id);
|
||||
Task<IEnumerable<Completion>> GetCompletionsBySurveyIdAsync(int surveyId);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue