Ejemplo n.º 1
0
 public UtilityService(IPhotosService photoService, IConversationService conversationService, IProfileService profileService, IKatushaDbContext dbContext, IDocumentStore ravenStore,
                       IPhotoRepositoryDB photoRepository, IProfileRepositoryDB profileRepository, IUserRepositoryDB userRepository, IPhotoBackupService photoBackupService,
                       ICountriesToVisitRepositoryDB countriesToVisitRepository, ILanguagesSpokenRepositoryDB languagesSpokenRepository, ISearchingForRepositoryDB searchingForRepository,
                       IConversationRepositoryDB conversationRepository, IProfileRepositoryRavenDB profileRepositoryRaven, IVisitRepositoryRavenDB visitRepositoryRaven, IConversationRepositoryRavenDB conversationRepositoryRaven,
                       IKatushaFileSystem fileSystem)
 {
     _conversationRepositoryRaven = conversationRepositoryRaven;
     _fileSystem                 = fileSystem;
     _visitRepositoryRaven       = visitRepositoryRaven;
     _profileRepositoryRaven     = profileRepositoryRaven;
     _photoRepository            = photoRepository;
     _photoService               = photoService;
     _conversationService        = conversationService;
     _profileService             = profileService;
     _conversationRepository     = conversationRepository;
     _countriesToVisitRepository = countriesToVisitRepository;
     _languagesSpokenRepository  = languagesSpokenRepository;
     _searchingForRepository     = searchingForRepository;
     _ravenStore                 = ravenStore as KatushaRavenStore;
     _profileRepository          = profileRepository;
     _userRepository             = userRepository;
     _photoBackupService         = photoBackupService;
     _dbContext       = dbContext; // as KatushaDbContext;
     _resourceManager = ResourceManager.GetInstance();
     _countries       = _resourceManager.GetCountries();
     _languages       = _resourceManager.GetLanguages();
 }
Ejemplo n.º 2
0
 public UserService(IProductService productService, INotificationService notificationService, IUserRepositoryDB repository, IProfileRepositoryRavenDB profileRepositoryRaven, IKatushaGlobalCacheContext globalCacheContext, IStateService stateService)
 {
     _productService         = productService;
     _notificationService    = notificationService;
     _repository             = repository;
     _profileRepositoryRaven = profileRepositoryRaven;
     _katushaGlobalCache     = globalCacheContext; // new KatushaRavenCacheContext(new CacheObjectRepositoryRavenDB());
     _stateService           = stateService;
 }
Ejemplo n.º 3
0
 public UserService(IProductService productService, INotificationService notificationService, IUserRepositoryDB repository, IProfileRepositoryRavenDB profileRepositoryRaven, IKatushaGlobalCacheContext globalCacheContext, IStateService stateService)
 {
     _productService = productService;
     _notificationService = notificationService;
     _repository = repository;
     _profileRepositoryRaven = profileRepositoryRaven;
     _katushaGlobalCache = globalCacheContext; // new KatushaRavenCacheContext(new CacheObjectRepositoryRavenDB());
     _stateService = stateService;
 }
Ejemplo n.º 4
0
 public ProfileService(IResourceService resourceService, IVisitService visitService, INotificationService notificationService, IProfileRepositoryDB profileRepository, IUserRepositoryDB userRepository,
                       ICountriesToVisitRepositoryDB countriesToVisitRepository, ISearchingForRepositoryDB searchingForRepository,
                       ILanguagesSpokenRepositoryDB languagesSpokenRepository, IProfileRepositoryRavenDB profileRepositoryRaven,
                       IKatushaGlobalCacheContext globalCacheContext)
 {
     _resourceService            = resourceService;
     _visitService               = visitService;
     _notificationService        = notificationService;
     _profileRepository          = profileRepository;
     _userRepository             = userRepository;
     _countriesToVisitRepository = countriesToVisitRepository;
     _languagesSpokenRepository  = languagesSpokenRepository;
     _searchingForRepository     = searchingForRepository;
     _profileRepositoryRaven     = profileRepositoryRaven;
     _katushaGlobalCache         = globalCacheContext;
 }
Ejemplo n.º 5
0
 public ProfileService(IResourceService resourceService, IVisitService visitService, INotificationService notificationService,  IProfileRepositoryDB profileRepository, IUserRepositoryDB userRepository,
     ICountriesToVisitRepositoryDB countriesToVisitRepository, ISearchingForRepositoryDB searchingForRepository,
     ILanguagesSpokenRepositoryDB languagesSpokenRepository, IProfileRepositoryRavenDB profileRepositoryRaven, 
     IKatushaGlobalCacheContext globalCacheContext)
 {
     _resourceService = resourceService;
     _visitService = visitService;
     _notificationService = notificationService;
     _profileRepository = profileRepository;
     _userRepository = userRepository;
     _countriesToVisitRepository = countriesToVisitRepository;
     _languagesSpokenRepository = languagesSpokenRepository;
     _searchingForRepository = searchingForRepository;
     _profileRepositoryRaven = profileRepositoryRaven;
     _katushaGlobalCache = globalCacheContext; 
 }
Ejemplo n.º 6
0
 public VisitService(IVisitRepositoryDB visitRepository, IVisitRepositoryRavenDB visitRepositoryRaven, IProfileRepositoryRavenDB profileRepositoryRaven)
 {
     _visitRepository        = visitRepository;
     _visitRepositoryRaven   = visitRepositoryRaven;
     _profileRepositoryRaven = profileRepositoryRaven;
 }
Ejemplo n.º 7
0
 public SearchService(IProfileRepositoryRavenDB profileRepositoryRaven, IStateRepositoryRavenDB stateRepositoryRaven, IProfileService profileService)
 {
     _profileRepositoryRaven = profileRepositoryRaven;
     _stateRepositoryRaven   = stateRepositoryRaven;
     _profileService         = profileService;
 }
Ejemplo n.º 8
0
 public VisitService(IVisitRepositoryDB visitRepository, IVisitRepositoryRavenDB visitRepositoryRaven, IProfileRepositoryRavenDB profileRepositoryRaven)
 {
     _visitRepository = visitRepository;
     _visitRepositoryRaven = visitRepositoryRaven;
     _profileRepositoryRaven = profileRepositoryRaven;
 }