private OrderHistroy FirstOrderHistory()
 {
     var invoice = new FakeClient1Invoices().FirstInvoice();
     Debug.Assert(invoice.OrderId != null, "invoice.OrderId != null");
     var orderHistory = new OrderHistroy
     {
         OrderHistoryId = 1,
         OrderId = (int) invoice.OrderId,
         ClientId = invoice.ClientId,
         CookerId = invoice.ClientId,
         OrderTypeValue = invoice.OrderTypeValue,
         PaymentMethodValue = invoice.PaymentMethodValue,
         PromotionTitle = invoice.PromotionTitle,
         PromotionPrice = invoice.PromotionPrice,
         PromotionCurrencyId = invoice.PromotionCurrencyId,
         CouponTitle = invoice.CouponTitle,
         CouponPrice = invoice.CouponPrice,
         CouponCurrencyId = invoice.CouponCurrencyId,
         PlanTitle = invoice.PlanTitle,
         SalesTax = invoice.SalesTax,
         DeliveryFees = invoice.DeliveryFees,
         SubTotal = invoice.SubTotal,
         Total = invoice.Total,
         CurrencyId = invoice.CurrencyId
     };
     return orderHistory;
 }
        public Payment FirstClient1Payment()
        {
            var FirstInvoice = new FakeClient1Invoices().FirstInvoice();
            if (FirstInvoice.OrderId != null)
            {
                var Payment = new Payment
                {
                    PaymentId = 1,
                    InvoiceId = FirstInvoice.InvoiceId,
                    PaymentDate = DateTime.Now.Date,
                    PaymentAmount = FirstInvoice.Total,
                    OrderId = (int) FirstInvoice.OrderId,
                    ClientId = FirstInvoice.ClientId,
                    CookerId = FirstInvoice.CookerId,
                    TransactionId = "G126F85"
                };

                return Payment;
            }
            return null;
        }