public int UpdateProfile(Profile profileUpdate) { //Profile toUpdate = ReadProfileId(profileUpdate.ProfileID); //Profile profile = profileUpdate; return(DataLinkLayer.DBupdate <Profile>(profileUpdate)); }
public void UpdatePlanned(ExerciseShow exerciseShow) { Planned planned = ReadRoutinePlanned(exerciseShow); planned.Reps = exerciseShow.Reps; planned.Lbs = exerciseShow.Lbs; DataLinkLayer.DBupdate(planned); }