public ActionResult <Guid> Delete(Guid key) { try { _clientServices.Del(key); return(Ok(new { key = key })); } catch (Exception exception) { _logger.LogError(exception, exception.Message); return(new StatusCodeResult(500)); } }