User Role and Authorization features added

This commit is contained in:
Reginald Cherenfant Jasmin
2023-08-18 15:30:34 -04:00
parent 4160c2300b
commit 22261f42ca
43 changed files with 1003 additions and 5 deletions

View File

@ -1,4 +1,5 @@
using DamageAssesment.Api.Surveys.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@ -25,6 +26,7 @@ namespace DamageAssesment.Api.Surveys.Controllers
}
return NoContent();
}
[HttpGet("{Id}")]
public async Task<ActionResult> GetSurveysAsync(int Id)
{