Пример #1
0
 public IActionResult StoreBook(long currentBookId, bool isSaved)
 {
     if (isSaved)
     {
         bookManager.AddShelvedBook(currentBookId);
     }
     else
     {
         bookManager.AddRejectedBook(currentBookId);
     }
     bookManager.RemoveNeutralBook(currentBookId);
     return(Redirect("/Home/RateBooks/"));
 }