/// <summary> /// Retrives all the info of patient about conservator stored in seperate table in database /// </summary> /// <returns>Patient Info as Patient Object</returns> public Patients GetPatientInfo() { PatientProfileData PatientInfo = new PatientProfileData(Id); var Patient = PatientInfo.GetPatientInfo(); return(Patient); }
/// <summary> /// Retreaves all the info of Patient's profile based on the Patient's User Id /// </summary> /// <returns>User Object with Profile Info</returns> public Users GetPatientProfile() { PatientProfileData PatientProfile = new PatientProfileData(Id); var Patient = PatientProfile.GetPatientUser(); Patient.Password = new EncryptPassword().Decrypt(Patient.Password); return(Patient); }