/// <summary> /// Initializes a new instance of the <see cref="SaveAppointmentDetailsRequestHandler"/> class. /// </summary> /// <param name="staffRepository">The staff repository.</param> /// <param name="clinicalCaseRepository">The clinical case repository.</param> /// <param name="visitTemplateRepository">The visit template repository.</param> /// <param name="locationRepository">The location repository.</param> /// <param name="visitFactory">The visit factory.</param> /// <param name="activitySchedulerService">The activity scheduler service.</param> public SaveAppointmentDetailsRequestHandler( IStaffRepository staffRepository, IClinicalCaseRepository clinicalCaseRepository, IVisitTemplateRepository visitTemplateRepository, ILocationRepository locationRepository, IVisitFactory visitFactory, IActivitySchedulerService activitySchedulerService) { _staffRepository = staffRepository; _clinicalCaseRepository = clinicalCaseRepository; _visitTemplateRepository = visitTemplateRepository; _locationRepository = locationRepository; _visitFactory = visitFactory; _activitySchedulerService = activitySchedulerService; }
/// <summary> /// Initializes a new instance of the <see cref="GetVisitTemplatesByAgencyKeyRequestHandler"/> class. /// </summary> /// <param name="visitTemplateRepository">The visit template repository.</param> public GetVisitTemplatesByAgencyKeyRequestHandler(IVisitTemplateRepository visitTemplateRepository) { _visitTemplateRepository = visitTemplateRepository; }