/// <summary> /// Initializes a new instance of the <see cref="VisitFactory"/> class. /// </summary> /// <param name="visitRepository">The visit repository.</param> /// <param name="visitStatusRepository">The visit status repository.</param> public VisitFactory( IVisitRepository visitRepository, IVisitStatusRepository visitStatusRepository) { _visitRepository = visitRepository; _visitStatusRepository = visitStatusRepository; }
public UnitOfWork(DBVETContext context) { _context = context; Animal = new AnimalRepository(context); AnimalRace = new AnimalRaceRepository(context); AnimalSpecies = new AnimalSpeciesRepository(context); Assortment = new AssortmentRepository(context); AssortPrice = new AssortPriceRepository(context); AssortType = new AssortTypeRepository(context); Company = new CompanyRepository(context); Customer = new CustomerRepository(context); CustomerAnimal = new CustomerAnimalRepository(context); Employee = new EmployeesRepository(context); EmployeeGroup = new EmployeeGroupRepository(context); EmployeeHoliday = new EmployeeHolidayRepository(context); EmployeeOpenHour = new EmployeeOpenHourRepository(context); EmployeeService = new EmployeeServiceRepository(context); EquipemntType = new EquipemntTypeRepository(context); Invoice = new InvoiceRepository(context); InvoiceAssortment = new InvoiceAssortmentRepository(context); InvoiceService = new InvoiceServiceRepository(context); MethodPay = new MethodPayRepository(context); Office = new OfficeRepository(context); OfficeCustomer = new OfficeCustomerRepository(context); OfficeHoliday = new OfficeHolidayRepository(context); OfficeOpenHour = new OfficeOpenHourRepository(context); Reservation = new ReservationRepository(context); ReservationService = new ReservationServiceRepository(context); Servic = new ServicRepository(context); ServiceType = new ServiceTypeRepository(context); Tax = new TaxRepository(context); Visit = new VisitRepository(context); }
public ReportsController(IPatientRepository patientRepository, IVisitRepository visitRepository, IQueryRepository queryRepository) { this.patientRepository = patientRepository; this.visitRepository = visitRepository; this.queryRepository = queryRepository; }
public UpdateVisitValidator(IVisitRepository visitRepository, IRestaurantRepository restaurantRepository, IUserRepository userRepository) { this.visitRepository = visitRepository; this.restaurantRepository = restaurantRepository; this.userRepository = userRepository; }
public ShortUrlService(IUserRepository userRepository, IShortUrlRepository shortUrlRepository, IVisitRepository visitRepository, IBannedDomainRepository bannedDomainRepository, IReservedAliasRepository reservedAliasRepository, IUnitOfWork unitOfWork, IExternalContentService externalContentService, IThumbnail thumbnail, IBaseX baseX, IUrlResolver urlResolver, IEventAggregator eventAggregator, ISpamDetector[] spamDetectors) { Check.Argument.IsNotNull(userRepository, "userRepository"); Check.Argument.IsNotNull(shortUrlRepository, "shortUrlRepository"); Check.Argument.IsNotNull(visitRepository, "visitRepository"); Check.Argument.IsNotNull(bannedDomainRepository, "bannedDomainRepository"); Check.Argument.IsNotNull(reservedAliasRepository, "reservedAliasRepository"); Check.Argument.IsNotNull(unitOfWork, "unitOfWork"); Check.Argument.IsNotNull(externalContentService, "externalContentService"); Check.Argument.IsNotNull(thumbnail, "thumbnail"); Check.Argument.IsNotNull(baseX, "baseX"); Check.Argument.IsNotNull(urlResolver, "urlResolver"); Check.Argument.IsNotNull(eventAggregator, "eventAggregator"); Check.Argument.IsNotNull(spamDetectors, "spamDetectors"); this.userRepository = userRepository; this.shortUrlRepository = shortUrlRepository; this.visitRepository = visitRepository; this.bannedDomainRepository = bannedDomainRepository; this.reservedAliasRepository = reservedAliasRepository; this.unitOfWork = unitOfWork; this.externalContentService = externalContentService; this.thumbnail = thumbnail; this.baseX = baseX; this.urlResolver = urlResolver; this.eventAggregator = eventAggregator; this.spamDetectors = spamDetectors; }
public BuyModel(UserManager <App_User> userManager, Calc calc, IVisitRepository visitRepository, IShopItemData shopItemData) { this.userManager = userManager; this.calc = calc; this.visitRepository = visitRepository; this.shopItemData = shopItemData; }
public CompleteVisitHandler( IBus bus, IVisitRepository visitRepository) { _bus = bus; _visitRepository = visitRepository; }
/// <summary> /// Initializes a new instance of the <see cref="SaveVisitDtoRequestHandler"/> class. /// </summary> /// <param name="visitRepository">The visit repository.</param> /// <param name="staffRepository">The staff repository.</param> /// <param name="locationRepository">The location repository. </param> public SaveVisitDtoRequestHandler( IVisitRepository visitRepository, IStaffRepository staffRepository, ILocationRepository locationRepository) { _visitRepository = visitRepository; _staffRepository = staffRepository; _locationRepository = locationRepository; }
public VisitSer(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _visitRepository = _unitOfWork.GetVisitRepo(); _patientRepository = _unitOfWork.GetPatientRepo(); _visitServiceRepository = _unitOfWork.GetVisitServiceRepo(); }
public DentistAppService(IVisitRepository visitRepository, IPatientRepository patientRepository, IDentistRepository dentistRepository, IAddressRepository addressRepository, IMapper mapper) { _visitRepository = visitRepository; _patientRepository = patientRepository; _dentistRepository = dentistRepository; _addressRepository = addressRepository; _mapper = mapper; }
public VisitsController(IVisitRepository repo, IMapper mapper) { _visitRepo = repo ?? throw new ArgumentNullException(nameof(repo)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public VisitService(IVisitRepository visitRepository, IRestaurantRepository restaurantRepository, IUserRepository userRepository) { this.visitRepository = visitRepository; this.restaurantRepository = restaurantRepository; this.userRepository = userRepository; }
public EvaluationsModel(IRepository <EconomicStudy> ReposStudies, IVisitRepository Visits, IRepository <Student> ReposStudents) { this.ReposStudies = ReposStudies; this.ReposStudents = ReposStudents; this.Visits = Visits; Study = new EconomicStudy(); visit = new Visit(); Studies = new List <EconomicStudy>(); }
public BookVisitHandler( IBus bus, IVisitRepository visitRepository, ILeadRepository leadRepository) { _bus = bus; _visitRepository = visitRepository; _leadRepository = leadRepository; }
public void SetUp() { var connection = DbConnectionFactory.CreateTransient(); _context = new ApplicationDbContext(connection); _visitRepository = new VisitRepository(_context); _unitOfWork = new UnitOfWork(_context); PrepareData(); }
public RegistroModel( IRepository <Tutor> repository, IAccoutRepository ReposAccount, IVisitRepository ReposVisit ) { this.repository = repository; this.ReposAccount = ReposAccount; this.ReposVisit = ReposVisit; }
public PatientsController(IPatientRepository repo, IPartnerRepository partnerrepo, IPatientReferenceRepository refrepo, IPatientDocumentRepository docrepo, IPatientVitalRepository PatientVital, IVisitRepository visit, IAppointmentRepository appointmentrepo) { _repo = repo; partner_repo = partnerrepo; ref_repo = refrepo; doc_repo = docrepo; PatientVital_repo = PatientVital; Visit_repo = visit; Appointment_repo = appointmentrepo; }
public ProviderController(IProviderRepository providerRepository, ISubscriptionRepository subscriptionRepository, IVisitRepository visitRepository, IMapper mapper) { _providerRepository = providerRepository; _subscriptionRepository = subscriptionRepository; _visitRepository = visitRepository; _mapper = mapper; }
public AnalyticsController(IPatientRepository patientRepository, IVisitRepository visitRepository, IDemographicFormDataRepository dfdRepository, IHappinessFormDataRepository hfdRepository, IAdverseEventFormDataRepository aefdRepository, IQueryRepository queryRepository) { this.patientRepository = patientRepository; this.visitRepository = visitRepository; this.dfdRepository = dfdRepository; this.hfdRepository = hfdRepository; this.aefdRepository = aefdRepository; this.queryRepository = queryRepository; }
public UnitOfWork(ICourseRepository courseRepository, ITrainRepository trainRepository, IReservationRepository reservationRepository, IVisitRepository visitRepository, IStationRepository stationRepository) { CourseRepository = courseRepository; TrainRepository = trainRepository; ReservationRepository = reservationRepository; VisitRepository = visitRepository; StationRepository = stationRepository; }
public EstudioSocioeconomicoModel( IEvaluatorRepository evaluators, IEconomicStudyRepository repository, IVisitRepository ReposVisits) { this.evaluators = evaluators; this.repository = repository; this.ReposVisits = ReposVisits; Visits = new List <Visit>(); visit = new Visit(); Study = new EconomicStudy(); }
public VisitController( IBus bus, ILeadRepository leadRepository, IVisitRepository visitRepository, IEmployeeService employeeService, IAppointmentService appointmentService) { _bus = bus; _leadRepository = leadRepository; _visitRepository = visitRepository; _employeeService = employeeService; _appointmentService = appointmentService; }
/// <summary> /// Initializes a new instance of the <see cref="SendToBillingRequestHandler"/> class. /// </summary> /// <param name="visitRepository">The visit repository.</param> /// <param name="codingContextRepository">The coding context repository.</param> /// <param name="patientAccountSynchronizationService">The patient account synchronization service.</param> /// <param name="encounterSynchronizationService">The encounter synchronization service.</param> /// <param name="serviceSynchronizationService">The service synchronization service.</param> public SendToBillingRequestHandler( IVisitRepository visitRepository, ICodingContextRepository codingContextRepository, IPatientAccountSynchronizationService patientAccountSynchronizationService, IEncounterSynchronizationService encounterSynchronizationService, IServiceSynchronizationService serviceSynchronizationService ) { _visitRepository = visitRepository; _codingContextRepository = codingContextRepository; _patientAccountSynchronizationService = patientAccountSynchronizationService; _encounterSynchronizationService = encounterSynchronizationService; _serviceSynchronizationService = serviceSynchronizationService; }
/// <summary> /// Initializes a new instance of the <see cref="VisitImportService"/> class. /// </summary> /// <param name="visitRepository">The visit repository.</param> /// <param name="codingContextRepository">The coding context repository.</param> /// <param name="patientAccountSynchronizationService">The patient account synchronization service.</param> /// <param name="encounterSynchronizationService">The encounter synchronization service.</param> /// <param name="serviceSynchronizationService">The service synchronization service.</param> public VisitImportService( IVisitRepository visitRepository, /*IBillingOfficeRepository billingOfficeRepository,*/ ICodingContextRepository codingContextRepository, IPatientAccountSynchronizationService patientAccountSynchronizationService, IEncounterSynchronizationService encounterSynchronizationService, IServiceSynchronizationService serviceSynchronizationService) { _visitRepository = visitRepository; /*_billingOfficeRepository = billingOfficeRepository;*/ _codingContextRepository = codingContextRepository; _patientAccountSynchronizationService = patientAccountSynchronizationService; _encounterSynchronizationService = encounterSynchronizationService; _serviceSynchronizationService = serviceSynchronizationService; }
public ScoreService( EntityValidator entityValidator, IScoreRepository scoreRepository, IScoreDtoMapper scoreDtoMapper, IVisitRepository visitRepository, ILessonRepository lessonRepository, IVisitDtoMapper visitDtoMapper ) { if (entityValidator == null) { throw new ArgumentNullException("entityValidator"); } if (scoreRepository == null) { throw new ArgumentNullException("scoreRepository"); } if (scoreDtoMapper == null) { throw new ArgumentNullException("scoreDtoMapper"); } if (visitRepository == null) { throw new ArgumentNullException("visitRepository"); } if (lessonRepository == null) { throw new ArgumentNullException("lessonRepository"); } if (visitDtoMapper == null) { throw new ArgumentNullException("visitDtoMapper"); } _entityValidator = entityValidator; _scoreRepository = scoreRepository; _scoreDtoMapper = scoreDtoMapper; _visitRepository = visitRepository; _lessonRepository = lessonRepository; _visitDtoMapper = visitDtoMapper; }
/// <summary> /// Constructor /// </summary> /// <param name="visitRepository">IVisitRepository dependency</param> /// <param name="securityHelper">ISecurityHelper dependency</param> /// <param name="employeeRepository">IEmployeeRepository dependency</param> public VisitsController(IVisitRepository visitRepository, ISecurityHelper securityHelper, IEmployeeRepository employeeRepository) { if (visitRepository == null) { throw new ArgumentNullException("visitRepository"); } if (securityHelper == null) { throw new ArgumentNullException("securityHelper"); } if (employeeRepository == null) { throw new ArgumentNullException("employeeRepository"); } _visitRepository = visitRepository; _securityHelper = securityHelper; _employeeRepository = employeeRepository; }
public VisitService( IVisitRepository visitRepository, ILessonRepository lessonRepository, IUserRepository userRepository, EntityValidator entityValidator, IVisitDtoMapper visitDtoMapper) { if (visitRepository == null) { throw new ArgumentNullException("visitRepository"); } if (lessonRepository == null) { throw new ArgumentNullException("lessonRepository"); } if (userRepository == null) { throw new ArgumentNullException("userRepository"); } if (entityValidator == null) { throw new ArgumentNullException("entityValidator"); } if (visitDtoMapper == null) { throw new ArgumentNullException("visitDtoMapper"); } _visitRepository = visitRepository; _lessonRepository = lessonRepository; _userRepository = userRepository; _entityValidator = entityValidator; _visitDtoMapper = visitDtoMapper; }
public AdministrativeService(IUserRepository userRepository, IShortUrlRepository shortUrlRepository, IVisitRepository visitRepository, IBannedIPAddressRepository bannedIPAddressRepository, IBannedDomainRepository bannedDomainRepository, IReservedAliasRepository reservedAliasRepository, IBadWordRepository barWordRepository, IUnitOfWork unitOfWork, IUrlResolver urlResolver, ICacheManager cacheManager) { Check.Argument.IsNotNull(userRepository, "userRepository"); Check.Argument.IsNotNull(shortUrlRepository, "shortUrlRepository"); Check.Argument.IsNotNull(visitRepository, "visitRepository"); Check.Argument.IsNotNull(bannedIPAddressRepository, "bannedIPAddressRepository"); Check.Argument.IsNotNull(bannedDomainRepository, "bannedDomainRepository"); Check.Argument.IsNotNull(reservedAliasRepository, "reservedAliasRepository"); Check.Argument.IsNotNull(barWordRepository, "barWordRepository"); Check.Argument.IsNotNull(unitOfWork, "unitOfWork"); Check.Argument.IsNotNull(urlResolver, "urlResolver"); Check.Argument.IsNotNull(cacheManager, "cacheManager"); this.userRepository = userRepository; this.shortUrlRepository = shortUrlRepository; this.visitRepository = visitRepository; this.bannedIPAddressRepository = bannedIPAddressRepository; this.bannedDomainRepository = bannedDomainRepository; this.reservedAliasRepository = reservedAliasRepository; this.barWordRepository = barWordRepository; this.unitOfWork = unitOfWork; this.urlResolver = urlResolver; this.cacheManager = cacheManager; }
/// <summary> /// 构造器 /// </summary> /// <param name="tenantTypeId">租户类型Id</param> /// <param name="visitRepository"><see cref="IVisitRepository"/></param> public VisitService(string tenantTypeId, IVisitRepository visitRepository) { this.tenantTypeId = tenantTypeId; this.visitRepository = visitRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ActivitySchedulerService"/> class. /// </summary> /// <param name="visitRepository">The visit repository.</param> public ActivitySchedulerService( IVisitRepository visitRepository ) { _activityTypeFactoryDictionary = new Dictionary<string, Type> (); _visitRepository = visitRepository; }
public ScheduleController(IVisitRepository visitRepository) { this.visitRepository = visitRepository; }
public VisitsService(IVisitRepository visitRepository, IUserRepository userRepository) { _visitRepository = visitRepository; _userRepository = userRepository; }
public VisitController(IVisitRepository visitRepository, IClinicalStudyDesignFactory clinicalStudyDesignFactory) { this.visitRepository = visitRepository; this.clinicalStudyDesignFactory = clinicalStudyDesignFactory; }
public VisitService(IVisitRepository visitRepository, IMappingService mappingService) { this.visitRepository = visitRepository; this.mappingService = mappingService; }