Пример #1
0
        public static List <Clinic> FromRClinicList(this RiskApps3.Model.MetaData.ClinicList apps)
        {
            List <Clinic> clinics = new List <Clinic>();

            foreach (RAM.Clinic app in apps)
            {
                clinics.Add(app.FromRClinics());
            }
            return(clinics);
        }
Пример #2
0
 private List<ViewModels.Clinic> GetClinics(string userid)
 {
     var list = new ClinicList();
     list.user_login = _hraSessionManager.Username;
     list.BackgroundListLoad();
     return list.FromRClinicList();
 }
Пример #3
0
        private static List<VM.Clinic> GetClinicList()
        {
            List<VM.Clinic> clinics = new List<VM.Clinic>();
            var list = new RAM.ClinicList();
            list.user_login = SessionManager.Instance.ActiveUser.userLogin;
            list.BackgroundListLoad();

            clinics = list.FromRClinicList();
            return clinics;
        }