Beispiel #1
0
        public async Task <List <SupplierVM> > GetAllSupplier()
        {
            var suppliers = await supplierRepo.GetAllSupplier();

            List <SupplierVM> supplierVMS = mapper.Map <List <SupplierVM> >(suppliers);

            return(supplierVMS);
        }