public ServiceResult <List <Core.Model.Order> > ChangeOrderStatus() { ServiceResult <List <Core.Model.Order> > result = new ServiceResult <List <Core.Model.Order> >(); result.Data = new List <Core.Model.Order>(); try { result.Data = _orderBO.ChangeOrderStatus(); } catch (Exception ex) { result.HasError = true; result.ErrorMessage = ex.Message; } return(result); }