public async Task <IActionResult> Delete(int id)
 {
     try
     {
         await planeService.DeleteEntityAsync(id);
     }
     catch (ValidationException e)
     {
         return(BadRequest(new { Exception = e.Message }));
     }
     return(NoContent());
 }