public static bool DeleteBook(string isbn) { result = BookInfoDAL.Delete(isbn); if (result > 0) { return(true); } else { return(false); } }
public int Delete(int id) { return(dal.Delete(id)); }
public static bool DeleteBook(string isbn) { result = BookInfoDAL.Delete(isbn); if (result > 0) { return(true); } else { return(false); } }
public int Delete(int id) { return(dal.Delete(id)); }