Ejemplo n.º 1
0
 protected void showWorkout()
 {
     HealthInputReportController controller = new HealthInputReportController(userID);
     workout.Text = controller.Returnworkout();
 }
Ejemplo n.º 2
0
 protected void showInjuries()
 {
     System.Diagnostics.Debug.WriteLine("working");
     HealthInputReportController controller = new HealthInputReportController(userID);
     string[] injuries = controller.ReturnInjuries(5);
     aLabel.Text = firsthalf(injuries[0]);
     firstInjury.Text = lasthalf(injuries[0]);
     bLabel.Text = firsthalf(injuries[1]);
     secondInjury.Text = lasthalf(injuries[1]);
     cLabel.Text = firsthalf(injuries[2]);
     thirdInjury.Text = lasthalf(injuries[2]);
     dLabel.Text = firsthalf(injuries[3]);
     fourthInjury.Text = lasthalf(injuries[3]);
     eLabel.Text = firsthalf(injuries[4]);
     fifthInjury.Text = lasthalf(injuries[4]);
 }