private void DummyData0() { workouts = new List <CalWorkoutModel> (); var a = new CalWorkoutModel() { Name = "Pull Ups", Reps = "10", Weight = "Body", Note = "Dank Leg Lifts" }; var b = new CalWorkoutModel() { Name = "Bench Press", Reps = "20", Weight = "170", Note = "Yeah good lift" }; var c = new CalWorkoutModel() { Name = "Sprints", Reps = "120", Weight = "90", Note = "Good run" }; workouts.Add(a); workouts.Add(b); workouts.Add(c); }
private void DummyData() { w0 = new List <CalWorkoutModel> (); var a = new CalWorkoutModel() { Name = "Pushups", Reps = "20", Weight = "150", Note = "So dank" }; var b = new CalWorkoutModel() { Name = "Arm Curls", Reps = "40", Weight = "80", Note = "Yeah good lift" }; var c = new CalWorkoutModel() { Name = "Leg Lifts", Reps = "40", Weight = "90", Note = "Yeah good leg lift" }; w0.Add(a); w0.Add(b); w0.Add(c); }
private CalWorkoutModel GetModel() { CalWorkoutModel model = new CalWorkoutModel() { Name = nameInput.Text, Weight = weightInput.Text, Reps = volumeInput.Text, Note = descriptionInput.Text }; return(model); }