public ActionResult CoffeeList() { var list = coffeeService.GetAll() .Select(i => new CoffeeModel { Title = i.Title, Image = blobService.GetBlobUrl(i.RowKey) }) .ToList(); return(View(list)); }
public Task <List <Coffee> > GetAll() { return(_coffeeService.GetAll()); }
public ActionResult Index() { var list = coffeeService.GetAll(); return(View(list)); }
public List <Coffee> GetAll() { return(_coffeeService.GetAll()); }