public void RemoveReview(int Id) { try { bookReviewRepo.Delete(Id); bookReviewRepo.Save(); } catch (Exception ex) { Error.InsertError(ex); } }
public void RemoveMember(int Id) { try { MemberRepo.Delete(Id); MemberRepo.Save(); } catch (Exception ex) { Error.InsertError(ex); } }
public void RemoveBook(int Id) { try { BookRepo.Delete(Id); BookRepo.Save(); } catch (Exception ex) { Error.InsertError(ex); } }