// delete exercise from planned routine public Boolean DeletePlanned(ExerciseShow exerciseShow) { Planned toDelPlanned = ReadRoutinePlanned(exerciseShow); if (DataLinkLayer.DBdelete <Planned>(toDelPlanned) > 0) { return(true); } return(false); }
public Boolean DeletePlanned(Planned p) { Int32 count = DataLinkLayer.DBdelete <Planned>(p); if (count > 0) { return(true); } else { return(false); } }
public Int32 DeleteProfile(Int32 id) { Profile profile = ReadProfileId(id); return(DataLinkLayer.DBdelete(profile)); }