// // GET: /Gallery/ public ActionResult Index() { List<Cake> cakeList; using (MainClient service = new MainClient()) { cakeList = service.GetAllCakes(); } return View(cakeList); }