public OrderEntity SetActualEndDate(int id) { try { var order = _orderEngine.SetActualEndDate(id); if (order == null) { return(null); } try { _vehicleLogic.SetAsAvailableAsync(order.VehicleId); } catch { } return(order); } catch (Exception e) { _exceptionHandlerLogic.LogExceptionAsync(e); throw e; } }