/// <summary> /// Initializes a new instance of the AddSeniorVM class. /// </summary> public AddSeniorVM(INavigationService navService, IPersonRepository _people, IAppointmentRepository _appts, IRequirementRepository _reqs, IAppointmentRequirementsRepository _apptReqs) { _personRepo = _people; _appointmentRepo = _appts; _requirementRepo = _reqs; _apptRequirementRepo = _apptReqs; NavigationService = navService; Refresh(); }
//private /// <summary> /// Initializes a new instance of the AppointmentAssignVM class. /// </summary> public AppointmentAssignVM(IPersonRepository _pers, IAppointmentRepository _appts, IAppointmentRequirementsRepository _appReqs, IAttachedRequirementRepository _attachReqs, IAvailabilityRepository _avail, INavigationService _nav) { _personRepository = _pers; _appointmentRepository = _appts; _apptReqsRepository = _appReqs; _attachedReqsRepository = _attachReqs; _availabilityRepository = _avail; NavigationService = _nav; Refresh(); }