Commit 3da9960d authored by Almouhannad's avatar Almouhannad

(B) Fix routing issue

parent f22d57e6
...@@ -43,7 +43,7 @@ public class DoctorsController : ApiController ...@@ -43,7 +43,7 @@ public class DoctorsController : ApiController
} }
//[Authorize(Roles = Roles.DoctorName)] //[Authorize(Roles = Roles.DoctorName)]
[HttpGet("Status{id:int}")] [HttpGet("Status/{id:int}")]
public async Task<IActionResult> GetStatusByUserId([FromRoute(Name = "id")] int userId) public async Task<IActionResult> GetStatusByUserId([FromRoute(Name = "id")] int userId)
{ {
GetDoctorStatusByUserIdQuery query = new GetDoctorStatusByUserIdQuery { UserId = userId }; GetDoctorStatusByUserIdQuery query = new GetDoctorStatusByUserIdQuery { UserId = userId };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment