going to question management
This commit is contained in:
parent
00e93fde2e
commit
585d6ac6e3
7 changed files with 150 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue