public bool DeleteTask(int taskID) { int rowsAffected = Adaptor.Delete(taskID); //Return true if precisely one row was inserted, otherwise false return(rowsAffected == 1); }
public bool DeleteTask(int taskID) { int rowsAffected = Adaptor.Delete(taskID); //Return true if precisely one row was inserted, otherwise false return(rowsAffected == 1); }