public object Delete(string id) { try { return(_supervisor.DeleteOrder(id)); } catch (Exception ex) { _logger.LogError(ex, "Exception: "); return(StatusCode(500, ex)); } }