public async Task <CinemaViewModel> Get(Guid id) { var item = await CinemaQueryEntry.FindAsync(id); var result = item.Map <CinemaViewModel>(); return(result); }
// GET: Cinema/Edit/5 public async Task <IActionResult> Edit(Guid id) { var item = await CinemaQueryEntry.FindAsync(id); return(View(item)); }