예제 #1
0
 public BeehiveController(
     IApiaryService apiaryService,
     IApiaryHelperService apiaryHelperService,
     UserManager <ApplicationUser> userManager,
     IBeehiveHelperService beehiveHelperService,
     IBeehiveService beehiveService,
     IQueenService queenService,
     IHarvestService harvestService,
     ITreatmentService treatmentService,
     IInspectionService inspectionService,
     IQueenHelperService queenHelperService,
     IExcelExportService excelExportService,
     ITemporaryApiaryBeehiveService temporaryApiaryBeehiveService,
     IBeehiveMarkFlagService beehiveMarkFlagService)
 {
     this.apiaryService                 = apiaryService;
     this.apiaryHelperService           = apiaryHelperService;
     this.userManager                   = userManager;
     this.beehiveHelperService          = beehiveHelperService;
     this.beehiveService                = beehiveService;
     this.queenService                  = queenService;
     this.harvestService                = harvestService;
     this.treatmentService              = treatmentService;
     this.inspectionService             = inspectionService;
     this.queenHelperService            = queenHelperService;
     this.excelExportService            = excelExportService;
     this.temporaryApiaryBeehiveService = temporaryApiaryBeehiveService;
     this.beehiveMarkFlagService        = beehiveMarkFlagService;
 }
예제 #2
0
 public TreatmentsController(ITreatmentService treatmentService, IRelationshipService relationshipService, IAuditTrailService auditTrailService, IAssetService assetService)
 {
     _treatmentService    = treatmentService;
     _relationshipService = relationshipService;
     _auditTrailService   = auditTrailService;
     _assetService        = assetService;
 }
 public RisksController(IRiskService riskService, IRelationshipService relationshipService, IAuditTrailService auditTrailService, ITreatmentService treatmentService)
 {
     _riskService         = riskService;
     _relationshipService = relationshipService;
     _auditTrailService   = auditTrailService;
     _treatmentService    = treatmentService;
 }
예제 #4
0
 public TreatmentController(
     ITreatmentService treatmentService,
     UserManager <AppUser> userManager)
 {
     _treatmentService = treatmentService;
     _userManager      = userManager;
 }
        public SearchController(ICustomerService customerService, ITreatmentService treatmentService)
        {
            if (customerService == null) throw new ArgumentNullException("customerService");
            if (treatmentService == null) throw new ArgumentNullException("treatmentService");

            _customerService = customerService;
            _treatmentService = treatmentService;
        }
예제 #6
0
 public TreatmentsController(
     IHttpContextAccessor httpContextAccessor,
     ITreatmentService treatmentService,
     ITreatmentTypeRepository treatmentTypeRepository) : base(httpContextAccessor)
 {
     _treatmentTypeRepository = treatmentTypeRepository;
     _treatmentService        = treatmentService;
 }
예제 #7
0
        public StartInfusionProcessViewModel(
            IDiseaseHistoryService diseaseHistoryService,
            ITreatmentService treatmentService)
        {
            _diseaseHistoryService = diseaseHistoryService;
            _treatmentService      = treatmentService;

            Init();
        }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreatmentController"/> class.
 /// </summary>
 /// <param name="treatmentRepository"></param>
 public TreatmentController(ITreatmentService treatmentService, IStayService stayService,
                            IAnimalService animalService, ILodgingService lodgingService,
                            UserManager <ApplicationUser> userManager)
 {
     _treatmentService = treatmentService;
     _animalService    = animalService;
     _stayService      = stayService;
     _lodgingService   = lodgingService;
     _userManager      = userManager;
 }
예제 #9
0
 public EprService(
     IVitalSignsService vitalSignsService,
     IPhysicalExamService physicalExamService,
     IDietService dietService,
     IExerciseService exerciseService,
     ITreatmentService treatmentService,
     IMedicalRecordService medicalRecordService)
 {
     _vitalSignsService    = vitalSignsService;
     _physicalExamService  = physicalExamService;
     _dietService          = dietService;
     _exerciseService      = exerciseService;
     _treatmentService     = treatmentService;
     _medicalRecordService = medicalRecordService;
 }
        public TreatmentController(ITreatmentFactory treatmentFactory, 
            ITreatmentService treatmentService, 
            ICustomerService customerService,
            IAreaAfflicationService areaAfflicationService)
        {
            if (treatmentFactory == null) throw new ArgumentNullException("treatmentFactory");
            if (treatmentService == null) throw new ArgumentNullException("treatmentService");
            if (customerService == null) throw new ArgumentNullException("customerService");
            if (areaAfflicationService == null) throw new ArgumentNullException("areaAfflicationService");

            _treatmentFactory = treatmentFactory;
            _treatmentService = treatmentService;
            _customerService = customerService;
            _areaAfflicationService = areaAfflicationService;
        }
예제 #11
0
 public ExcelExportService(
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IHarvestService harvestService,
     IInspectionService inspectionService,
     ITreatmentService treatmentService,
     IEnumerationMethodsService enumerationMethodsService)
 {
     this.apiaryService             = apiaryService;
     this.beehiveService            = beehiveService;
     this.harvestService            = harvestService;
     this.inspectionService         = inspectionService;
     this.treatmentService          = treatmentService;
     this.enumerationMethodsService = enumerationMethodsService;
 }
예제 #12
0
 public TreatmentController(
     UserManager <ApplicationUser> userManager,
     ITreatmentService treatmentService,
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IExcelExportService excelExportService,
     IBeehiveHelperService beehiveHelperService)
 {
     this.userManager          = userManager;
     this.treatmentService     = treatmentService;
     this.apiaryService        = apiaryService;
     this.beehiveService       = beehiveService;
     this.excelExportService   = excelExportService;
     this.beehiveHelperService = beehiveHelperService;
 }
예제 #13
0
 public MedicalChartController(
     IMedicalChartService medicalChartService,
     IPatientService <PatientDTO> patientService,
     IAllergyService allergyService,
     IFileService fileService,
     ITreatmentHistoryService treatmentHistoryService,
     ITreatmentService <TreatmentDTO> treatmentService,
     IDentistService dentistService
     )
 {
     _medicalChartService     = medicalChartService;
     _patientService          = patientService;
     _allergyService          = allergyService;
     _fileService             = fileService;
     _treatmentHistoryService = treatmentHistoryService;
     _treatmentService        = treatmentService;
     _dentistService          = dentistService;
 }
예제 #14
0
 public OpdRecordController(
     IVitalSignsService vitalSignsService,
     IPhysicalExamService physicalExamService,
     IDietService dietService,
     IExerciseService exerciseService,
     ITreatmentService treatmentService,
     IEprService eprService,
     IPatientInfoService patientInfoService,
     IMedicalRecordService medicalRecordService)
 {
     _vitalSignsService    = vitalSignsService;
     _physicalExamService  = physicalExamService;
     _dietService          = dietService;
     _exerciseService      = exerciseService;
     _treatmentService     = treatmentService;
     _eprService           = eprService;
     _patientInfoService   = patientInfoService;
     _medicalRecordService = medicalRecordService;
 }
예제 #15
0
 public HomeController(
     UserManager <ApplicationUser> userManager,
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IQueenService queenService,
     ITreatmentService treatmentService,
     IInspectionService inspectionService,
     IHarvestService harvestService,
     IQuickChartService quickChartService,
     IEmailSender emailSender,
     IConfiguration configuration)
 {
     this.userManager       = userManager;
     this.apiaryService     = apiaryService;
     this.beehiveService    = beehiveService;
     this.queenService      = queenService;
     this.treatmentService  = treatmentService;
     this.inspectionService = inspectionService;
     this.harvestService    = harvestService;
     this.quickChartService = quickChartService;
     this.emailSender       = emailSender;
     this.configuration     = configuration;
 }
예제 #16
0
 public BeehiveService(
     IRepository <BeehiveHelper> beehiveHelperRepository,
     IRepository <ApiaryHelper> apiaryHelperRepository,
     IRepository <QueenHelper> queenHelperRepository,
     IDeletableEntityRepository <Beehive> beehiveRepository,
     IDeletableEntityRepository <Queen> queenRepository,
     IDeletableEntityRepository <Inspection> inspectionRepository,
     IDeletableEntityRepository <Treatment> treatmentRepository,
     IRepository <TreatedBeehive> treatedBeehiveRepository,
     IDeletableEntityRepository <Harvest> harvestRepository,
     IRepository <HarvestedBeehive> harvestedBeehiveRepository,
     ITemporaryApiaryBeehiveService temporaryApiaryBeehiveService,
     IQueenService queenService,
     IInspectionService inspectionService,
     ITreatmentService treatmentService,
     IHarvestService harvestService,
     IDeletableEntityRepository <BeehiveDiary> beehiveDiaryRepository,
     IDeletableEntityRepository <TemporaryApiaryBeehive> temporaryApiaryBeehiveRepository)
 {
     this.beehiveHelperRepository       = beehiveHelperRepository;
     this.apiaryHelperRepository        = apiaryHelperRepository;
     this.queenHelperRepository         = queenHelperRepository;
     this.beehiveRepository             = beehiveRepository;
     this.queenRepository               = queenRepository;
     this.inspectionRepository          = inspectionRepository;
     this.treatmentRepository           = treatmentRepository;
     this.treatedBeehiveRepository      = treatedBeehiveRepository;
     this.harvestRepository             = harvestRepository;
     this.harvestedBeehiveRepository    = harvestedBeehiveRepository;
     this.temporaryApiaryBeehiveService = temporaryApiaryBeehiveService;
     this.queenService                     = queenService;
     this.inspectionService                = inspectionService;
     this.treatmentService                 = treatmentService;
     this.harvestService                   = harvestService;
     this.beehiveDiaryRepository           = beehiveDiaryRepository;
     this.temporaryApiaryBeehiveRepository = temporaryApiaryBeehiveRepository;
 }
 public TreatmentsController(ITreatmentService businessService)
 {
     this._businessService = businessService;
 }
 public TreatmentController(ITreatmentService <TreatmentDTO> service)
 {
     _service = service;
 }
예제 #19
0
 public TreatmentController(ITreatmentService treatmentService, IMapper mapper)
 {
     _treatmentService = treatmentService;
     _mapper           = mapper;
 }
 public TreatmentController(ITreatmentService treatmentService)
 {
     _treatmentService = treatmentService;
 }