@@ -25,7 +25,7 @@ public async Task GetBills(HttpListenerContext context)
2525 await ResponseBuilder . SendApiResult ( context . Response , result ) ;
2626 }
2727
28- [ Post ( "/api/v1/buildings/bills" ) ]
28+ [ Post ( "/api/v1/buildings/bills/add " ) ]
2929 [ EndpointMetadata ( "Create a new bill on a work table" ) ]
3030 public async Task CreateBill ( HttpListenerContext context )
3131 {
@@ -35,7 +35,7 @@ public async Task CreateBill(HttpListenerContext context)
3535 await context . SendJsonResponse ( result ) ;
3636 }
3737
38- [ Delete ( "/api/v1/buildings/bills" ) ]
38+ [ Delete ( "/api/v1/buildings/bills/remove " ) ]
3939 [ EndpointMetadata ( "Clear all bills from a work table" ) ]
4040 public async Task ClearBills ( HttpListenerContext context )
4141 {
@@ -54,7 +54,7 @@ public async Task GetBill(HttpListenerContext context)
5454 await context . SendJsonResponse ( result ) ;
5555 }
5656
57- [ Put ( "/api/v1/buildings/bill" ) ]
57+ [ Put ( "/api/v1/buildings/bill/update " ) ]
5858 [ EndpointMetadata ( "Update a bill on a work table" ) ]
5959 public async Task UpdateBill ( HttpListenerContext context )
6060 {
@@ -65,7 +65,7 @@ public async Task UpdateBill(HttpListenerContext context)
6565 await context . SendJsonResponse ( result ) ;
6666 }
6767
68- [ Delete ( "/api/v1/buildings/bill" ) ]
68+ [ Delete ( "/api/v1/buildings/bill/remove " ) ]
6969 [ EndpointMetadata ( "Delete a bill from a work table" ) ]
7070 public async Task DeleteBill ( HttpListenerContext context )
7171 {
@@ -104,7 +104,7 @@ public async Task GetAvailableRecipes(HttpListenerContext context)
104104 var buildingId = RequestParser . GetIntParameter ( context , "building_id" ) ;
105105 var onlyResearched = RequestParser . GetBooleanParameter ( context , "only_researched" , false ) ;
106106 var result = _billService . GetAvailableRecipes ( buildingId , onlyResearched ) ;
107- await ResponseBuilder . SendApiResult ( context . Response , result ) ;
107+ await ResponseBuilder . SendApiResult ( context . Response , result ) ;
108108 }
109109
110110 [ Get ( "/api/v1/map/work-tables" ) ]
0 commit comments