Ejemplo n.º 1
0
        public ScheduleModel()
        {
            _scheduleService = new ScheduleService();
            _chamberService  = new ChamberService();

            ChamberCollection = _chamberService.GetAllByDoctorId(AuthenticatedDoctorUserModel.GetDoctorUserFromIdentity().Id);
        }
Ejemplo n.º 2
0
        public DoctorModel()
        {
            _doctorService    = new DoctorService();
            _chamberService   = new ChamberService();
            _degreeService    = new DegreeService();
            _specialtyService = new SpecialtyService();

            SpecialtyCollection = _specialtyService.GetAll();
            DegreeCollection    = _degreeService.GetAll();
            ChamberCollection   = _chamberService.GetAll();

            GenderCollection = new List <Gender>()
            {
                new Gender()
                {
                    Id = 1, Name = "Male"
                },
                new Gender()
                {
                    Id = 2, Name = "Female"
                }, new Gender()
                {
                    Id = 3, Name = "Others"
                }
            };

            BloodGroupCollection = new List <BloodGroup>()
            {
                new BloodGroup()
                {
                    Id = 1, Name = "A+"
                },
                new BloodGroup()
                {
                    Id = 2, Name = "A-"
                }, new BloodGroup()
                {
                    Id = 3, Name = "AB+"
                }
            };
        }
Ejemplo n.º 3
0
 public AppointmentModel()
 {
     _doctorService      = new DoctorService();
     _chamberService     = new ChamberService();
     _appointmentService = new AppointmentService();
 }