public AppointmentController(IAppointmentRepository apprepo, IPatientRepository patientrepo, IDoctorRepository doctorrepo, ITechnicianRepository techrepo)
 {
     _apprepo     = apprepo;
     _patientrepo = patientrepo;
     _doctorrepo  = doctorrepo;
     _techrepo    = techrepo;
 }
Exemple #2
0
 public UserService(IUserRepository <User> userRepository, IOrganizationRoleUserRepository orgRoleUserRepository, IOrganizationRepository organizationRepository,
                    IAddressService addressService, IRoleRepository roleRepository, ISessionContext sessionContext, IValidator <UserEditModel> userCValidator,
                    IOrganizationRoleUserModelFactory organizationRoleUserModelFactory, ITechnicianRepository technicianRepository, IPhysicianRepository physicianRepository,
                    IPhysicianLicenseModelFactory physicianLicenseModelFactory, IStateRepository stateRepository, IOneWayHashingService oneWayHashingService,
                    IPasswordChangelogService passwordChangelogService, IAccountCoordinatorProfileRepository accountCoordinatorProfileRepository, ICallCenterRepProfileRepository callCenterRepProfileRepository,
                    IUserNpiInfoRepository userNpiInfoRepository, ISystemUserInfoRepository systemUserInfoRepository, IPinChangeLogService pinChangeLogService)
 {
     _oneWayHashingService                = oneWayHashingService;
     _passwordChangelogService            = passwordChangelogService;
     _userRepository                      = userRepository;
     _orgRoleUserRepository               = orgRoleUserRepository;
     _organizationRepository              = organizationRepository;
     _roleRepository                      = roleRepository;
     _addressService                      = addressService;
     _sessionContext                      = sessionContext;
     _userModelValidator                  = userCValidator;
     _organizationRoleUserModelFactory    = organizationRoleUserModelFactory;
     _technicianRepository                = technicianRepository;
     _physicianRepository                 = physicianRepository;
     _physicianLicenseModelFactory        = physicianLicenseModelFactory;
     _stateRepository                     = stateRepository;
     _accountCoordinatorProfileRepository = accountCoordinatorProfileRepository;
     _callCenterRepProfileRepository      = callCenterRepProfileRepository;
     _userNpiInfoRepository               = userNpiInfoRepository;
     _systemUserInfoRepository            = systemUserInfoRepository;
     _pinChangeLogService                 = pinChangeLogService;
 }
Exemple #3
0
 public TechnicianController(ITechnicianRepository technicianRepository,
                             IUnitOfWork unitOfWork, IMediator mediator)
 {
     _technicianRepository = technicianRepository;
     _unitOfWork           = unitOfWork;
     _mediator             = mediator;
 }
Exemple #4
0
 public ProfileController(ISessionContext sessionContext, IUserProfileService userProfileService, ILoginSettingRepository loginSettingRepository, IUserLoginRepository userLoginRepository, ITechnicianRepository technicianRepository)
 {
     _sessionContext         = sessionContext;
     _userProfileService     = userProfileService;
     _loginSettingRepository = loginSettingRepository;
     _userLoginRepository    = userLoginRepository;
     _technicianRepository   = technicianRepository;
 }
Exemple #5
0
 public LoginController(ISessionContext sessionContext, IUserLoginRepository userLoginRepository, IUserLoginService userLoginService, IUserRepository <User> userRepository, IUniqueItemRepository <UserLoginLog> uniqueItemRepository,
                        ILogManager logManager, ITechnicianRepository technicianRepository, IConfigurationSettingRepository configurationSettingRepository, IPinChangeLogService pinChangeLogService)
 {
     _sessionContext                 = sessionContext;
     _userLoginRepository            = userLoginRepository;
     _userLoginService               = userLoginService;
     _userRepository                 = userRepository;
     _uniqueItemRepository           = uniqueItemRepository;
     _technicianRepository           = technicianRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _pinChangeLogService            = pinChangeLogService;
     _logger = logManager.GetLogger <LoginController>();
 }
 public UnitOfWork(
     DataContext context,
     IPatientRepository patientRepository,
     ITechnicianRepository technicianRepository,
     IPhysicianRepository physicianRepository,
     IMedicalRecordRepository medicalRecordRepository,
     IMedicalRegistryRepository medicalRegistryRepository,
     IHealthCareProviderRepository healthCareProviderRepository
     )
 {
     _context = context;
     this.PatientRepository            = patientRepository;
     this.PhysicianRepository          = physicianRepository;
     this.TechnicianRepository         = technicianRepository;
     this.MedicalRecordRepository      = medicalRecordRepository;
     this.MedicalRegistryRepository    = medicalRegistryRepository;
     this.HealthCareProviderRepository = healthCareProviderRepository;
 }
        /// <summary>
        /// Sets the Datasource to be Mock or SQL
        /// </summary>
        /// <param name="dataSourceEnum">The mock status.</param>
        public static void SetDataSource(DataSourceEnum dataSourceEnum)
        {
            switch (dataSourceEnum)
            {
            /*
             * These will all use a Table store as the backend.
             * Local is used when running azure local service
             * Live and Test point to azure instances
             */
            case DataSourceEnum.Local:
            case DataSourceEnum.ServerLive:
            case DataSourceEnum.ServerTest:
                DataSourceBackendTable.Instance.SetDataSourceServerMode(dataSourceEnum);
                repository = TechnicianRepositoryStore.Instance;
                break;

            case DataSourceEnum.SQL:        // Same as Mock because no sql backend for this version.
            case DataSourceEnum.Mock:
            default:
                // Default is to use the Mock
                repository = TechnicianRepositoryMock.Instance;
                break;
            }
        }
 public GetTechinicianByIdHandler(ITechnicianRepository techinicianRepository)
 {
     _technicianRepository = techinicianRepository;
 }
 public GetAllTechniciansHandler(ITechnicianRepository technicianRepository)
 {
     _technicianRepository = technicianRepository;
 }
 public TechnicianController(ITechnicianRepository technicianRepository,
                             IUnitOfWork unitOfWork)
 {
     _technicianRepository = technicianRepository;
     _unitOfWork           = unitOfWork;
 }
 public TechnicianController(ITechnicianRepository techrepo)
 {
     _techrepo = techrepo;
 }
Exemple #12
0
 public TechnicianController(IMapper mapper, ITechnicianRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
 }
Exemple #13
0
 public InsertTechnicianHandler(IUnitOfWork unitOfWork, ITechnicianRepository technicianRepository)
 {
     _technicianRepository = technicianRepository;
     _unitOfWork           = unitOfWork;
 }
Exemple #14
0
 public TechnicianListProvider(ITechnicianRepository technicianRepository,
                               ITechnicianListItemViewModelFactory listItemViewModelFactory)
 {
     CreateList(technicianRepository.GetAll(), listItemViewModelFactory);
 }