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()); }
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()); }