Ejemplo n.º 1
0
        public static InvoiceDTO BasicInvoice()
        {
            InvoiceDTO invoiceDto = new EFCorePoC.DTOs.InvoiceDTO();

            invoiceDto.CustomerReference = "Customer Ref";

            invoiceDto.Quantity      = 1;
            invoiceDto.ItemNet       = 100;
            invoiceDto.TaxRate       = 20;
            invoiceDto.InvoiceDate   = DateTime.Today.Date;
            invoiceDto.InvoiceNumber = 123456;

            return(invoiceDto);
        }