Exemple #1
0
        public static Athlete Build_Athlete_Graph()
        {
            Athlete jay = Build_Athlete();


            var sets = new List <Set> {
                new Set {
                    SetNumber = 1, Reps = 12, Weight = 45
                }, new Set {
                    SetNumber = 2, Reps = 8, Weight = 65
                }
            };
            var exSets = new List <ExerciseSets>
            {
                new ExerciseSets {
                    ExerciseId = 2, Sets = sets
                }
            };

            var workouts = new List <Workout>
            {
                new Workout
                {
                    TimeRange         = DateTime.UtcNow,
                    Day               = System.DateTime.UtcNow,
                    DurationInMinutes = 60,
                    Exercises         = exSets
                },
                Build_Chest_And_Back_Workout()
            };


            jay.AddWorkouts(workouts);
            return(jay);
        }