Exemplo n.º 1
0
 /* DELETE BOOK */
 public ActionResult DeleteBook(int Id)
 {
     BookAction.Delete_Book(Id);
     RecordAction.Create_Record(CustomerAction.Find_Customer((int)Session["id"]).email, CustomerAction.Find_Customer((int)Session["id"]).email + " delete book " + BookAction.Find_Book(Id).ten_sach, DateTime.Now.Date);
     return(Redirect("~/Book/BookManager/" + Session["id"]));
 }