Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult Index()
- {
- #region Temporary Mock
- User u = new User();
- u.UserID = 1;
- u.UserName = "DerBayer";
- u.Password = "stefan";
- u.FirstName = "Stefan";
- u.SurName = "Schacherl";
- u.MailAddress = "der@bay.er";
- u.Permission = 1;
- u.Active = true;
- u.Birthday = new DateTime(1987, 11, 22);
- List<HealthData> lh = new List<HealthData>();
- HealthData h = new HealthData();
- h.ID = 1;
- h.Date = DateTime.Now;
- h.Weight = 77.24;
- h.Height = 177;
- h.FK_User = 1;
- lh.Add(h);
- #endregion
- return View(new ViewModels.VitalDataList(u, lh));
- }
Add Comment
Please, Sign In to add comment