Esempio n. 1
0
        public ActionResult UnBookmark(Guid id)
        {
            SBook book = BookService.GetSingle(id);

            return(View(book));
        }
Esempio n. 2
0
 public ActionResult Create(SBook book)
 {
     BookService.Add(book);
     return(RedirectToAction("Index"));
 }
Esempio n. 3
0
 public ActionResult Edit(SBook book)
 {
     BookService.Update(book);
     return(RedirectToAction("Index"));
 }