/// <summary> /// Workplace Service Constructor /// </summary> public WorkplaceService(ICompanyRepository companyRepository, IWorkplaceRepository workplaceRepository, IWorkLocationRepository workLocationRepository, IWorkplaceTypeRepository workplaceTypeRepository, IOperationRepository operationRepository, IFleetPoolRepository fleetPoolRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository) { this.workplaceRepository = workplaceRepository; this.companyRepository = companyRepository; this.workLocationRepository = workLocationRepository; this.workplaceTypeRepository = workplaceTypeRepository; this.operationRepository = operationRepository; this.fleetPoolRepository = fleetPoolRepository; this.operationsWorkPlaceRepository = operationsWorkPlaceRepository; }
/// <summary> /// Constructor /// </summary> public WorkLocationService(IWorkLocationRepository workLocationRepository, ICompanyRepository companyRepository, ICountryRepository countryRepository, IRegionRepository regionRepository, ISubRegionRepository subRegionRepository, ICityRepository cityRepository, IAreaRepository areaRepository, IPhoneTypeRepository phoneTypeRepository, IPhoneRepository phoneRepository, IAddressRepository addressRepository, IAddressTypeRepository addressTypeRepository) { this.workLocationRepository = workLocationRepository; this.addressTypeRepository = addressTypeRepository; this.companyRepository = companyRepository; this.countryRepository = countryRepository; this.regionRepository = regionRepository; this.subRegionRepository = subRegionRepository; this.cityRepository = cityRepository; this.areaRepository = areaRepository; this.phoneTypeRepository = phoneTypeRepository; this.phoneRepository = phoneRepository; this.addressRepository = addressRepository; }