Exemple #1
0
    public bool DeleteTask(int taskID)
    {
        int rowsAffected = Adaptor.Delete(taskID);

        //Return true if precisely one row was inserted, otherwise false
        return(rowsAffected == 1);
    }