示例#1
0
        public IEnumerable <SalesInvoice> GetSalesInvoices()
        {
            IEnumerable <SalesInvoice> so = Invoice_repo.GetAll();

            so = so.OrderByDescending(p => p.SalesInvoiceId);
            return(so);
        }
 public IList <SalesInvoice> GetAll()
 {
     return(_repository.GetAll());
 }