Пример #1
0
        public async Task<ActionResult> Edit(string noteId, string editKey)
        {
            var model = new EditNoteViewModel();
            if (await model.Initialize(noteId, editKey) == false)
            {
                return HttpNotFound();
            }

            return View(model);
        }