示例#1
0
        public int UpdateProfile(Profile profileUpdate)
        {
            //Profile toUpdate = ReadProfileId(profileUpdate.ProfileID);
            //Profile profile = profileUpdate;

            return(DataLinkLayer.DBupdate <Profile>(profileUpdate));
        }
示例#2
0
        public void UpdatePlanned(ExerciseShow exerciseShow)
        {
            Planned planned = ReadRoutinePlanned(exerciseShow);

            planned.Reps = exerciseShow.Reps;
            planned.Lbs  = exerciseShow.Lbs;

            DataLinkLayer.DBupdate(planned);
        }