public HospitalSectionProfileCreator(IHospitalRepository hospitalRepository, ISectionProfileRepository sectionProfileRepository, IHospitalUserSectionAccessRepository hospitalUserSectionAccessRepository, IHospitalUserRepository hospitalUserRepository) { this._hospitalRepository = hospitalRepository; _sectionProfileRepository = sectionProfileRepository; _hospitalUserSectionAccessRepository = hospitalUserSectionAccessRepository; this._hospitalUserRepository = hospitalUserRepository; }
public ReceptionUserModelCreator(IPersonDataAPIRepository personDataApiRepository, IHospitalRepository hospitalRepository, IUserTypeRepository userTypeRepository, IPasswordHashManager passwordHashManager, IAccountNameCalculator accountNameCalculator) { _personDataApiRepository = personDataApiRepository; _hospitalRepository = hospitalRepository; _userTypeRepository = userTypeRepository; _passwordHashManager = passwordHashManager; _accountNameCalculator = accountNameCalculator; }
public ClinicRegistrationsService(ISectionProfileRepository sectionProfileRepository, IClinicManager clinicManager, ITokenManager tokenManager, IEmptyPlaceByTypeStatisticRepository emptyPlaceByTypeStatisticRepository, IClinicUserHospitalSectionProfileAccessRepository clinicUserHospitalSectionProfileAccessRepository, IHospitalRepository hospitalRepository, IReservationRepository reservationRepository, IMessageRepository messageRepository, IUserRepository userRepository, IHospitalSectionProfileRepository hospitalSectionProfileRepository, IHospitalManager hospitalManager, IClinicRepository clinicRepository, IReservationFileRepository reservationFile, IEmptyPlaceStatisticRepository emptyPlaceStatisticRepository) { _sectionProfileRepository = sectionProfileRepository; this._clinicManager = clinicManager; _tokenManager = tokenManager; _emptyPlaceByTypeStatisticRepository = emptyPlaceByTypeStatisticRepository; _clinicUserHospitalSectionProfileAccessRepository = clinicUserHospitalSectionProfileAccessRepository; _hospitalRepository = hospitalRepository; _reservationRepository = reservationRepository; _messageRepository = messageRepository; _userRepository = userRepository; this._hospitalSectionProfileRepository = hospitalSectionProfileRepository; this._hospitalManager = hospitalManager; _clinicRepository = clinicRepository; _reservationFileRepository = reservationFile; _emptyPlaceStatisticRepository = emptyPlaceStatisticRepository; }
public DepartmentRepository(IHospitalRepository hospitalRepository, Stream <Department> stream) : base(stream, "Department") { this.hospitalRepository = hospitalRepository; this.stream = stream; }
public HospitalManager(IHospitalRepository hospitalRepository) { HospitalRepository = hospitalRepository; }
public HospitalController() { _hospitalRepository = new HospitalRepository(); }
public async Task <IActionResult> GetById(Guid id, [FromServices] IHospitalRepository repository) { var result = await repository.GetById(id); return(Ok(_mapper.Map <HospitalViewModel>(result))); }
public HospitalService(IHospitalRepository hospitalRepository, IPatientRepository patientRepository) { _hospitalRepository = hospitalRepository; _patientRepository = patientRepository; }
public HospitalController(IHospitalRepository hospitalRepository) { _hospitalRepository = hospitalRepository; }
public HospitalController(DoacaoContext context, IHospitalRepository hospitalRepository) { _context = context; _hospitalRepository = hospitalRepository; }
public HospitalesModel(IHospitalRepository hospitalRepositoty) { _hospitalRepositoty = hospitalRepositoty; }
public HospitalsController(IHospitalRepository ihrep) { this.db = ihrep; }
public HospitalsController() { this.db = new EFHospitalRepository(); }
public UsuarioController(DoacaoContext context, IUsuarioRepository usuarioRepository, IHospitalRepository hospitalRepository) { _context = context; _usuarioRepository = usuarioRepository; _hospitalRepository = hospitalRepository; }
public HospitalsController(IHospitalRepository hospitalRepository) { this.hospitalRepository = hospitalRepository; }
public IndexModel(IHospitalRepository repository) { this.repository = repository; }
public HospitalHealViewModel(Hospital hospital, IHospitalService hospitalService, IHospitalRepository hospitalRepository, bool showHospitalName = false) { HospitalID = hospital.CompanyID; HealingPrice = (double?)hospital.HealingPrice; HealingEnabled = hospital.HealingEnabled && SessionHelper.CurrentEntity.Is(EntityTypeEnum.Citizen); if (HealingEnabled) { var citizen = SessionHelper.LoggedCitizen; var result = hospitalService.CanHealCitizen(SessionHelper.LoggedCitizen, hospital); CanHealYou = result.isSuccess; NoHealingReason = result.ToString("<br/>"); //if there are no errors it will be empty. if (CanHealYou) { CurrencySymbol = Persistent.Countries.GetCountryCurrency(hospital.Company.Region.Country).Symbol; HealingPrice = (double?)hospitalRepository.GetHealingPrice(hospital.CompanyID, citizen.ID).Cost; } } if (ShowHospitalName = showHospitalName) { HospitalName = hospital.Company.Entity.Name; } }
public HospitalHandler(IHospitalRepository hospitalRepository, IAddressRepositoty addressRepositoty) { _hospitalRepository = hospitalRepository; _addressRepositoty = addressRepositoty; }
/// <summary> /// Inject your repository here /// </summary> /// <param name="hospitalRepository"></param> public HospitalController(IHospitalRepository hospitalRepository) =>
public static ViewCompanyViewModel GetViewModel(Company company, IProductRepository productRepository, ICompanyService companyService, CompanyRights rights, IRegionRepository regionRepository, IRegionService regionService, IHospitalRepository hospitalRepository) { switch (company.GetCompanyType()) { case CompanyTypeEnum.Construction: return(new ViewConstructionCompanyViewModel(company, productRepository, companyService, rights, regionService, regionRepository)); case CompanyTypeEnum.Developmenter: return(new ViewDevelopementCompanyViewModel(company, productRepository, companyService, rights, regionService, regionRepository)); } switch (company.GetProducedProductType()) { case ProductTypeEnum.MedicalSupplies: var hospitalService = DependencyResolver.Current.GetService <IHospitalService>(); return(new ViewHospitalCompanyViewModel(company, productRepository, companyService, hospitalService, rights, regionService, regionRepository, hospitalRepository)); } return(new ViewCompanyViewModel(company, productRepository, companyService, rights, regionService, regionRepository)); }
public HospitalCommandHandler(IHospitalRepository hospitalRepository, IUnitOfWork uow) { _hospitalRepository = hospitalRepository; _uow = uow; }
public DoctorRepository(ICSVStream <Doctor> stream, ISequencer <UserID> sequencer, ITimeTableRepository timeTableRepository, IHospitalRepository hospitalRepository, IRoomRepository roomRepository, IUserRepository userRepository) : base(ENTITY_NAME, stream, sequencer, new DoctorIdGeneratorStrategy()) { _timeTableRepository = timeTableRepository; _hospitalRepository = hospitalRepository; _roomRepository = roomRepository; _userRepository = userRepository; }
public MainWindow() { InitializeComponent(); repository = new HospitalRepository(); UpdateListBox1(); }
public InitializeModel(IHospitalRepository repository) { this.repository = repository; }
public async Task <IActionResult> GetAllByDesactive([FromServices] IHospitalRepository repository) { var result = await repository.GetAllDesactive(false); return(Ok(_mapper.Map <IEnumerable <HospitalViewModel> >(result))); }
public HospitalService(IHospitalRepository hospitalRepository, ILogger <HospitalService> logger) { _hospitalRepository = hospitalRepository; _logger = logger; }
public AddPatientModel(IHospitalRepository repository) { this.repository = repository; }
public HospitalService( IHospitalRepository repoHospital ) { _repoHospital = repoHospital; }
public HospitalService(IHospitalRepository hospitalRepository, IHospitalTagRepository hospitalTagRepository) { _hospitalRepository = hospitalRepository ?? throw new System.ArgumentNullException(nameof(hospitalRepository)); _hospitalTagRepository = hospitalTagRepository ?? throw new System.ArgumentNullException(nameof(hospitalTagRepository)); _baseRepository = _hospitalRepository; }
public DepartmentsModel(IHospitalRepository repository) { this.repository = repository; }
public SecretaryRepository(ICSVStream <Secretary> stream, ISequencer <UserID> sequencer, ITimeTableRepository timeTableRepository, IHospitalRepository hospitalRepository, IUserRepository userRepository) : base(ENTITY_NAME, stream, sequencer, new SecretaryIdGeneratorStrategy()) { _timeTableRepository = timeTableRepository; _hospitalRepository = hospitalRepository; _userRepository = userRepository; }
public NewAdmissionModel(IHospitalRepository repository) { this.repository = repository; }
public HospitalService(IHospitalRepository hospitalRepository) { _hospitalRepository = hospitalRepository; }
public HospitalManager(IHospitalRepository hospitalRepository) { this.hospitalRepository = hospitalRepository; }