예제 #1
0
 public ActionResult StoreBook(long currentBookId, bool isSaved)
 {
     if (isSaved)
     {
         bookManager.AddShelvedBook(currentBookId);
     }
     else
     {
         bookManager.AddRejectedBook(currentBookId);
     }
     bookManager.RemoveNeutralBook(currentBookId);
     return(Redirect("/Home/RateBooks/"));
 }