public ActionResult ModuleManagement(ModuleManagementViewModel MMVM)
 {
     try
     {
         var user = Session["CurrentUser"] as UserAndRole;
         MMVM.ModuleInfoList      = GetModuleAndDoctorInfo(MMVM.PatientId);
         MMVM.HealthCoachInfoList = GetHealthCareList(MMVM.PatientId);
         return(View(MMVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 public ActionResult ModuleManagement()
 {
     try
     {
         var user = Session["CurrentUser"] as UserAndRole;
         ModuleManagementViewModel MMVM = new ModuleManagementViewModel();
         //MMVM.ModuleInfoList = GetModuleAndDoctorInfo();
         return(View(MMVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public ActionResult ModuleManagement(string PatientId)
 {
     try
     {
         var user = Session["CurrentUser"] as UserAndRole;
         ModuleManagementViewModel MMVM = new ModuleManagementViewModel();
         if (PatientId != null && PatientId != "")
         {
             MMVM.PatientId           = PatientId;
             MMVM.ModuleInfoList      = GetModuleAndDoctorInfo(MMVM.PatientId);
             MMVM.HealthCoachInfoList = GetHealthCareList(MMVM.PatientId);
         }
         //MMVM.ModuleInfoList = GetModuleAndDoctorInfo();
         return(View(MMVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }