12 lines
No EOL
376 B
C#
12 lines
No EOL
376 B
C#
using SurveyLib.Core.Models;
|
|
|
|
namespace SurveyLib.Core.Services;
|
|
|
|
public interface IQuestionService
|
|
{
|
|
Task AddQuestionAsync(QuestionBase question);
|
|
Task UpdateQuestionAsync(QuestionBase question);
|
|
Task DeleteQuestionAsync(int id);
|
|
Task<QuestionBase> GetQuestionByIdAsync(int id);
|
|
Task<IEnumerable<QuestionBase>> GetQuestionsBySurveyIdAsync(int surveyId);
|
|
} |