Ejemplo n.º 1
0
        public async Task <IEnumerable <ProformaInvoiceMst> > GetAllProformaInvoiceMstByUser(ImporterIdDto importerIdDto)
        {
            var proformaInvoiceMsts = await _proformaInvoiceRepository.GetAllProformaInvoiceMstByUser(importerIdDto);

            return(proformaInvoiceMsts);
        }
Ejemplo n.º 2
0
        public async Task <IEnumerable <ProformaInvoiceMst> > GetAllProformaInvoiceMstByUser(ImporterIdDto importerIdDto)
        {
            var proformaInvoicemsts = await _nmsDataContext.ProformaInvoiceMsts.Where(y => y.ImporterId == importerIdDto.ImporterId).OrderByDescending(x => x.ProformaDate).ToListAsync();

            return(proformaInvoicemsts);
        }