public decimal? TotalAmount(int orderID) { return context.Orders.Where(x => x.id_order == orderID).Sum(x => x.price); }