예제 #1
0
        public async Task <List <ItemVM> > GetAllItems()
        {
            var items = await itemRepo.GetAllItem();

            var itemVMS = mapper.Map <List <ItemVM> >(items);

            return(itemVMS);
        }