going to question management

This commit is contained in:
Вячеслав 2025-04-20 19:31:38 +05:00
parent 00e93fde2e
commit 585d6ac6e3
7 changed files with 150 additions and 0 deletions

View file

@ -42,6 +42,8 @@ public class SurveyService : ISurveyService
{
throw new UnauthorizedAccessException("You are not authorized to delete this survey.");
}
await _surveyRepository.DeleteAsync(survey);
}
public async Task<IEnumerable<Survey>> GetSurveysAsync()