private void InitializeRepositories()
 {
     _userRepository = new UserEntityRepository();
     _sectorRepository = new IndustrialSectorEntityRepository();
     _taskRepository = new TaskEntityRepository();
     _contactRepository = new ContactEntityRepository();
     _accountRepository = new AccountEntityRepository();
     _opportunityRepository = new OpportunityEntityRepository();
 }
Exemple #2
0
 private void InitializeRepositories()
 {
     _userRepository        = new UserEntityRepository();
     _sectorRepository      = new IndustrialSectorEntityRepository();
     _taskRepository        = new TaskEntityRepository();
     _contactRepository     = new ContactEntityRepository();
     _accountRepository     = new AccountEntityRepository();
     _opportunityRepository = new OpportunityEntityRepository();
 }
Exemple #3
0
 public IndustrialSectorService(IValidationDictionary validationDictionary, IIndustrialSectorRepository repository)
 {
     _validationDictionary = validationDictionary;
     _repository           = repository;
 }
 public IndustrialSectorService(IValidationDictionary validationDictionary, IIndustrialSectorRepository repository)
 {
     _validationDictionary = validationDictionary;
     _repository = repository;
 }