Пример #1
0
 public async Task <IActionResult> DeleteTerrain(Guid id)
 {
     try
     {
         Log.Information($"Removing {id}");
         return(Ok(await manager.Delete <Terrain>(id)));
     }
     catch (Exception ex)
     {
         LogErrors(ex);
         return(BadRequest(ex.Message));
     }
 }