Exemplo n.º 1
0
 public CompanyController(ICompanyService companyService,
                          ICompanyManagerService companyManagerService,
                          ICompanyRepository companyRepository,
                          ICompanyManagerRepository companyManagerRepository,
                          ICurrentUser currentUser,
                          IRoleRepository roleRepository,
                          ICountryRepository countryRepositorty,
                          ILocationRepository locationRepository,
                          IBuildingRepository buildingRepository,
                          ICompanyBuildingObjectRepository companyBuildingObjectRepository,
                          IUserRepository userRepository,
                          IUserService userService,
                          IUsersAccessUnitService usersAccessUnitService,
                          IClassificatorValueRepository classificatorValueRepository,
                          IBuildingObjectRepository buildingObjectRepository,
                          IUserBuildingRepository userBuildingRepository,
                          ILogger logger) : base(currentUser, logger)
 {
     _companyRepository               = companyRepository;
     _companyManagerRepository        = companyManagerRepository;
     _companyService                  = companyService;
     _companyManagerService           = companyManagerService;
     _locationRepository              = locationRepository;
     _countryRepository               = countryRepositorty;
     _buildingRepository              = buildingRepository;
     _companyBuildingObjectRepository = companyBuildingObjectRepository;
     _userRepository                  = userRepository;
     _userService                  = userService;
     _userAccessUnitService        = usersAccessUnitService;
     _classificatorValueRepository = classificatorValueRepository;
     _roleRepository               = roleRepository;
     _buildingObjectRepository     = buildingObjectRepository;
     _userBuildingRepository       = userBuildingRepository;
 }
Exemplo n.º 2
0
 public AddressService([GlobalContext] IUnitOfWork globalUnitOfWork, IConstantService constantService,
                       ICompanyManagerService companyManagerService, IHistConstantsService histConstantsService, IUnitOfWork unitOfWork)
 {
     _globalUnitOfWork      = globalUnitOfWork;
     _constantService       = constantService;
     _companyManagerService = companyManagerService;
     _histConstantsService  = histConstantsService;
     _addressRep            = unitOfWork.GetRepository <BankAccount>();
     _unitOfWork            = unitOfWork;
 }
 public EditContactViewModel(ICompanyManagerService service)
 {
     _service = service;
 }
 public EditCompanyViewModel(ICompanyManagerService service)
 {
     _service = service;
     States = _service.GetStates();
 }
Exemplo n.º 5
0
 public SP500CompanyImportJob(ICompanyManagerService companyService, ICompanyFileReader fileReader)
 {
     _companyService = companyService;
     _fileReader     = fileReader;
 }
Exemplo n.º 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="companyManagerService"></param>
 #region C...tor
 public CompanyManagerController(ICompanyManagerService companyManagerService)
 {
     CompanyManagerService = companyManagerService;
 }
 public ListCompaniesViewModel(ICompanyManagerService service)
 {
     _service = service;
     Companies = service.GetCompanies();
 }