Ejemplo n.º 1
0
        public ActionResult GenerateBuyList(int id)
        {
            var buyModels     = _menuManager.GetBuyList(id);
            var buyViewModels = _mapper.Map <IEnumerable <BuyListViewModel> >(buyModels);

            return(View(buyViewModels));
        }