Implemented frontent Locations create button, fixed localization for frontend Locations

This commit is contained in:
2025-10-25 16:40:18 +02:00
parent 20d7ceb784
commit 0929e2c638
4 changed files with 176 additions and 42 deletions

View File

@@ -26,8 +26,8 @@ public class LocationsController : Controller
return list;
}
[HttpGet("Create")]
public async Task<bool> Create(LocationsCreateRequestModel model)
[HttpPost("Create")]
public async Task<bool> Create([FromBody]LocationsCreateRequestModel model)
{
try
{