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

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