Commit 91db3405 authored by Almouhannad's avatar Almouhannad

(F) Fix routing issue

parent 47d96d17
...@@ -43,7 +43,7 @@ public class WaitingListController : ApiController ...@@ -43,7 +43,7 @@ public class WaitingListController : ApiController
} }
//[Authorize(Roles = Roles.ReceptionistName)] //[Authorize(Roles = Roles.ReceptionistName)]
[HttpDelete("/{id:int}")] [HttpDelete("{id:int}")]
public async Task<IActionResult> Delete([FromRoute(Name ="id")] int id) public async Task<IActionResult> Delete([FromRoute(Name ="id")] int id)
{ {
var command = new DeleteWaitingListRecordCommand var command = new DeleteWaitingListRecordCommand
......
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