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