예제 #1
0
 public HerdAppService(IRepository <Herd> herdRepository, IRepository <StateInfo> stateInfoRepository, IRepository <CityInfo> cityInfoRepository, IRepository <RegionInfo> regionInfoRepository, IRepository <VillageInfo> villageInfoRepository, IRepository <UnionInfo> unionInfoRepository, IRepository <HerdGeoLog> herdGeoLogInfoRepository, IRepository <ActivityInfo> activityInfoRepository, IRepository <Contractor> contractorRepository, ISms98Sender sms98Sender, IRepository <Officer> officerRepository, IRepository <Livestock> livestockRepository)
 {
     _herdRepository           = herdRepository;
     _stateInfoRepository      = stateInfoRepository;
     _cityInfoRepository       = cityInfoRepository;
     _regionInfoRepository     = regionInfoRepository;
     _villageInfoRepository    = villageInfoRepository;
     _unionInfoRepository      = unionInfoRepository;
     _herdGeoLogInfoRepository = herdGeoLogInfoRepository;
     _activityInfoRepository   = activityInfoRepository;
     _contractorRepository     = contractorRepository;
     _sms98Sender         = sms98Sender;
     _officerRepository   = officerRepository;
     _livestockRepository = livestockRepository;
 }
예제 #2
0
 public InseminationAppService(IRepository <Insemination> inseminationRepository, IRepository <SpeciesInfo> speciesInfoRepository, IRepository <SexInfo> sexInfoRepository, IRepository <Herd> herdRepository, IRepository <ActivityInfo> activityInfoRepository, IRepository <Officer> officerRepository, IRepository <PlaqueToOfficer> plaqueToOfficerRepository, IRepository <PlaqueInfo, long> plaqueInfoRepository, IRepository <UnionInfo> unionInfoRepository, IRepository <Contractor> contractorRepository, IRepository <BreedInfo> breedInfoRepository, IRepository <BirthTypeInfo> birthTypeInfoRepository, IRepository <AnomalyInfo> anomalyInfoRepository, IRepository <MembershipInfo> membershipInfoRepository, IRepository <BodyColorInfo> bodyColorInfoRepository, IRepository <SpotConnectorInfo> spotConnectorInfoRepository, ISms98Sender sms98Sender)
 {
     _inseminationRepository      = inseminationRepository;
     _speciesInfoRepository       = speciesInfoRepository;
     _sexInfoRepository           = sexInfoRepository;
     _herdRepository              = herdRepository;
     _activityInfoRepository      = activityInfoRepository;
     _officerRepository           = officerRepository;
     _plaqueToOfficerRepository   = plaqueToOfficerRepository;
     _plaqueInfoRepository        = plaqueInfoRepository;
     _unionInfoRepository         = unionInfoRepository;
     _contractorRepository        = contractorRepository;
     _breedInfoRepository         = breedInfoRepository;
     _birthTypeInfoRepository     = birthTypeInfoRepository;
     _anomalyInfoRepository       = anomalyInfoRepository;
     _membershipInfoRepository    = membershipInfoRepository;
     _bodyColorInfoRepository     = bodyColorInfoRepository;
     _spotConnectorInfoRepository = spotConnectorInfoRepository;
     _sms98Sender = sms98Sender;
 }