示例#1
0
        public IActionResult Index()
        {
            List <CoffeeModel> coffees = _logic.GetAllCoffees().Select(c => MapTo(c)).ToList();

            return(View(coffees));
        }