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