示例#1
0
        public async Task <CinemaViewModel> Get(Guid id)
        {
            var item = await CinemaQueryEntry.FindAsync(id);

            var result = item.Map <CinemaViewModel>();

            return(result);
        }
示例#2
0
        // GET: Cinema/Edit/5
        public async Task <IActionResult> Edit(Guid id)
        {
            var item = await CinemaQueryEntry.FindAsync(id);

            return(View(item));
        }