I remember from ASP.NET Web API that it\'s sufficient to prefix Web API REST method names with HTTP commands (e.g. GetList() => HTTP GET, Delete(
GetList()
HTTP GET
Delete(
You just need to add the Route to the top of your controller.
Specify the route with api, controller and action:
[Route("api/[controller]/[action]")] [ApiController] public class AvailableRoomsController : ControllerBase { ... }