예제 #1
0
 // Index頁面的刪除
 public ActionResult IndexDeleteBookData(int id)
 {
     Service.BookDataService bookDataService = new Service.BookDataService();
     bookDataService.DeleteBookData(id);
     return(Redirect("/"));
 }
예제 #2
0
 public void DeleteBookData(int id)
 {
     Service.BookDataService bookDataService = new Service.BookDataService();
     bookDataService.DeleteBookData(id);
 }