Пример #1
0
        //
        // GET: /Verse/Edit/5

        public ActionResult Edit(Guid id)
        {
            Verse verse = VerseManager.Get(id);

            ViewBag.ChapterId = new SelectList(ChapterManager.GetAll(), "Id", "Title", verse.ChapterId);
            return(View(verse));
        }
Пример #2
0
        //
        // GET: /Verse/Delete/5

        public ActionResult Delete(Guid id)
        {
            return(View(VerseManager.Get(id)));
        }
Пример #3
0
        //
        // GET: /Verse/Details/5

        public ViewResult Details(Guid id)
        {
            return(View(VerseManager.Get(id)));
        }