コード例 #1
0
 public StepsDataHelper(string uniqueGuid, int patientId)
 {
     this.uniqueGuid = uniqueGuid;
     this.patientId = patientId;
     stepsDataViewModel = new StepsDataViewModel();
 }
コード例 #2
0
 /// <summary>
 /// Steps Action
 /// </summary>
 /// <param name="uniqueGuid">Unique GUID</param>
 /// <param name="patientId">Patient ID</param>
 /// <returns></returns>
 public ActionResult Steps(string uniqueGuid, int patientId)
 {
     StepsDataViewModel stepsDataViewModel = new StepsDataViewModel();
     try
     {
         stepsDataViewModel = new StepsDataHelper(uniqueGuid, patientId).GetViewModel();
         ViewBag.Error = "";
     }
     catch (Exception ex)
     {
         ViewBag.Error = ex.Message;
     }
     return View(stepsDataViewModel);
 }