public List <Invoice> GetList() { return(_invoiceDal.GetAll()); }
public IDataResult <List <Invoice> > GetAll() { return(new SuccessDataResult <List <Invoice> >(_invoiceDal.GetAll(), Messages.InvoicessListed)); }