Ejemplo n.º 1
0
 public IActionResult StoreAllBooks(bool areSaved)
 {
     if (areSaved)
     {
         bookManager.AddAllToShelf();
         return(Redirect("/Home/Index"));
     }
     else
     {
         bookManager.AddAllToRejected();
     }
     return(Redirect("/Home/RateBooks/"));
 }