コード例 #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 ApiaryController(
     UserManager <ApplicationUser> userManager,
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IApiaryNumberService apiaryNumberService,
     IConfiguration configuration,
     IForecastService forecastService,
     IApiaryHelperService apiaryHelperService,
     IBeehiveHelperService beehiveHelperService,
     ITemporaryApiaryBeehiveService temporaryApiaryBeehiveService,
     IExcelExportService excelExportService)
 {
     this.userManager                   = userManager;
     this.apiaryService                 = apiaryService;
     this.beehiveService                = beehiveService;
     this.apiaryNumberService           = apiaryNumberService;
     this.configuration                 = configuration;
     this.forecastService               = forecastService;
     this.apiaryHelperService           = apiaryHelperService;
     this.beehiveHelperService          = beehiveHelperService;
     this.temporaryApiaryBeehiveService = temporaryApiaryBeehiveService;
     this.excelExportService            = excelExportService;
 }
コード例 #3
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;
 }