public Order GetDetails(int id, string email)
 {
     return(_context.Orders
            .Include(x => x.OrderItems)
            .Where(OrderSpecs.GetOrderDetails(id, email))
            .FirstOrDefault());
 }
Esempio n. 2
0
 public Order GetHeader(int id, string email)
 {
     return(_context.Orders
            .Where(OrderSpecs.GetOrderDetails(id, email))
            .FirstOrDefault());
 }