forked from MDCPS/DamageAssessment_Backend
		
	enabled dade school token in user access module
This commit is contained in:
		| @ -19,7 +19,7 @@ namespace DamageAssesment.Api.Employees.Controllers | ||||
|         /// <summary> | ||||
|         /// GET request for retrieving employees. | ||||
|         /// </summary> | ||||
|        // [Authorize(Roles = "admin")] | ||||
|         [Authorize(Roles = "admin")] | ||||
|         [HttpGet("employees")] | ||||
|         public async Task<ActionResult> GetEmployeesAsync() | ||||
|         { | ||||
| @ -36,7 +36,7 @@ namespace DamageAssesment.Api.Employees.Controllers | ||||
|         /// <summary> | ||||
|         /// GET request for retrieving an employee by ID. | ||||
|         /// </summary> | ||||
|        // [Authorize(Roles = "admin")] | ||||
|         [Authorize(Roles = "admin")] | ||||
|         [HttpGet("employees/{id}")] | ||||
|         public async Task<ActionResult> GetEmployeeByIdAsync(int id) | ||||
|         { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user