added basic services
This commit is contained in:
parent
3e570decd7
commit
6e8d6cebdd
6 changed files with 100 additions and 12 deletions
|
|
@ -4,8 +4,9 @@ namespace SurveyLib.Core.Services;
|
|||
|
||||
public interface IQuestionService
|
||||
{
|
||||
Task<bool> AddQuestionAsync(QuestionBase question);
|
||||
Task<bool> UpdateQuestionAsync(QuestionBase question);
|
||||
Task<bool> DeleteQuestionAsync(int id);
|
||||
Task AddQuestionAsync(QuestionBase question);
|
||||
Task UpdateQuestionAsync(QuestionBase question);
|
||||
Task DeleteQuestionAsync(int id);
|
||||
Task<QuestionBase> GetQuestionByIdAsync(int id);
|
||||
Task<IEnumerable<QuestionBase>> GetQuestionsBySurveyIdAsync(int surveyId);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue