public List <CustomerOrderDTO> GetCustomerOrdersDTO() { Persistence.Repositories.DTOResult dtoResult = Persistence.Repositories.CustomerOrderRepository.GetCustomerOrdersDTO(); customerOrdersDTO = (List <CustomerOrderDTO>)dtoResult.DynamicObject; customerOrdersDTO.OrderBy(p => p.CustomerOrderTimeStamp); return(customerOrdersDTO); }
public List <PizzaToppingDTO> GetPizzaToppingsDTO() { Persistence.Repositories.DTOResult dtoResult = Persistence.Repositories.PizzaToppingRepository.GetPizzaToppingsDTO(); pizzaToppingsDTO = (List <DTO.PizzaToppingDTO>)dtoResult.DynamicObject; return(pizzaToppingsDTO); }
public List <PizzaCrustDTO> GetPizzaCrustsDTO() { Persistence.Repositories.DTOResult dtoResult = Persistence.Repositories.PizzaCrustRepository.GetPizzaCrustsDTO(); pizzaCrustsDTO = (List <PizzaCrustDTO>)dtoResult.DynamicObject; return(pizzaCrustsDTO); }