public ProfilesController(IProfileReadModelRepository readModelRepository, IProfileDomainService profileDomainService, IIdentityService identityService, IDomainNotificationHandler domainNotificationHandler, IMediator mediator, ILogger <ProfilesController> logger)
     : base(domainNotificationHandler, mediator, logger)
 {
     _readModelRepository  = readModelRepository;
     _profileDomainService = profileDomainService;
     _currentProfileId     = identityService.GetUserId();
 }
Exemple #2
0
 public ProfileBaseAppServiceCommon(IMapper mapper, IUnitOfWork unitOfWork, ICacheService cacheService, IProfileDomainService profileDomainService)
 {
     Mapper               = mapper;
     UnitOfWork           = unitOfWork;
     CacheService         = cacheService;
     ProfileDomainService = profileDomainService;
 }
 protected ProfileBaseAppService(IMapper mapper
                                 , IUnitOfWork unitOfWork
                                 , ICacheService cacheService
                                 , IProfileDomainService profileDomainService) : base(mapper, unitOfWork, cacheService)
 {
     this.profileDomainService = profileDomainService;
 }
Exemple #4
0
 public FriendshipRequestCommandHandler(IFriendshipRequestRepository friendshipRequestRepository, IProfileRepository profileRepository, IProfileDomainService profileDomainService, IIdentityService identityService, IMediator mediator, IUnitOfWork <ICommunityDbContext> unitOfWork, ILogger <FriendshipRequestCommandHandler> logger)
     : base(identityService, mediator, unitOfWork, logger)
 {
     _friendshipRequestRepository = friendshipRequestRepository;
     _profileRepository           = profileRepository;
     _profileDomainService        = profileDomainService;
     _currentProfileId            = GetCurrentProfileId();
 }
 public CommentCommandHandler(ICommentRepository commentRepository, IPostRepository postRepository, IProfileDomainService profileDomainService, IIdentityService identityService, IMediator mediator, IUnitOfWork <ICommunityDbContext> unitOfWork, ILogger <CommentCommandHandler> logger)
     : base(identityService, mediator, unitOfWork, logger)
 {
     _commentRepository    = commentRepository;
     _postRepository       = postRepository;
     _profileDomainService = profileDomainService;
     _currentProfileId     = GetCurrentProfileId();
 }
 public StudyAppService(IMapper mapper, IUnitOfWork unitOfWork,
                        ICacheService cacheService,
                        IProfileDomainService profileDomainService,
                        IStudyDomainService studyDomainService,
                        IGamificationDomainService gamificationDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.studyDomainService        = studyDomainService;
     this.gamificationDomainService = gamificationDomainService;
 }
 public JobPositionAppService(IMapper mapper
                              , IUnitOfWork unitOfWork
                              , ICacheService cacheService
                              , IProfileDomainService profileDomainService
                              , IJobPositionDomainService jobPositionDomainService
                              , IGamificationDomainService gamificationDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.jobPositionDomainService  = jobPositionDomainService;
     this.gamificationDomainService = gamificationDomainService;
 }
Exemple #8
0
 public TeamAppService(IMapper mapper
                       , IUnitOfWork unitOfWork
                       , ICacheService cacheService
                       , ITeamDomainService teamDomainService
                       , IProfileDomainService profileDomainService
                       , IGamificationDomainService gamificationDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.teamDomainService         = teamDomainService;
     this.gamificationDomainService = gamificationDomainService;
 }
Exemple #9
0
 public ProfileCommandHandler(IProfileRepository profileRepository, IProfileDomainService profileDomainService, IFriendshipRequestDomainService friendshipRequestDomainService, IStorageService storageService, IOptions <ContainerOptions> containerOptions, IIdentityService identityService, IMediator mediator, IUnitOfWork <ICommunityDbContext> unitOfWork, ILogger <ProfileCommandHandler> logger)
     : base(identityService, mediator, unitOfWork, logger)
 {
     _profileRepository              = profileRepository;
     _profileDomainService           = profileDomainService;
     _friendshipRequestDomainService = friendshipRequestDomainService;
     _storageService   = storageService;
     _containerOptions = containerOptions;
     _currentProfileId = GetCurrentProfileId();
 }
 public ProfileAppService(IMapper mapper
                          , IUnitOfWork unitOfWork
                          , ICacheService cacheService
                          , IProfileDomainService profileDomainService
                          , IUserContentDomainService userContentDomainService
                          , IGameDomainService gameDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.userContentDomainService = userContentDomainService;
     this.gameDomainService        = gameDomainService;
 }
        public BrainstormAppService(IMapper mapper
                                    , IUnitOfWork unitOfWork
                                    , ICacheService cacheService
                                    , IProfileDomainService profileDomainService
                                    , IGamificationDomainService gamificationDomainService
                                    , IBrainstormDomainService brainstormDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
        {
            this.gamificationDomainService = gamificationDomainService;

            this.brainstormDomainService = brainstormDomainService;
        }
 public LocalizationAppService(IMapper mapper
                               , IUnitOfWork unitOfWork
                               , ICacheService cacheService
                               , IProfileDomainService profileDomainService
                               , ILocalizationDomainService translationDomainService
                               , IGameDomainService gameDomainService
                               , IGamificationDomainService gamificationDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.translationDomainService  = translationDomainService;
     this.gameDomainService         = gameDomainService;
     this.gamificationDomainService = gamificationDomainService;
 }
 public UserContentAppService(ILogger <UserContentAppService> logger
                              , IMapper mapper
                              , IUnitOfWork unitOfWork
                              , ICacheService cacheService
                              , IProfileDomainService profileDomainService
                              , IUserContentDomainService userContentDomainService
                              , IGamificationDomainService gamificationDomainService
                              , IPollDomainService pollDomainService) : base(mapper, unitOfWork, cacheService, profileDomainService)
 {
     this.logger = logger;
     this.userContentDomainService  = userContentDomainService;
     this.gamificationDomainService = gamificationDomainService;
     this.pollDomainService         = pollDomainService;
     this.pollDomainService         = pollDomainService;
 }
 protected ProfileBaseAppService(IProfileBaseAppServiceCommon profileBaseAppServiceCommon) : base(profileBaseAppServiceCommon.Mapper, profileBaseAppServiceCommon.UnitOfWork, profileBaseAppServiceCommon.CacheService)
 {
     profileDomainService = profileBaseAppServiceCommon.ProfileDomainService;
 }
Exemple #15
0
 public GetStudentsByUserIdQueryHandler(IProfileDomainService profileDomainService)
 {
     this.profileDomainService = profileDomainService;
 }
Exemple #16
0
 public StudyDomainService(IProfileDomainService profileDomainService, IStudyCourseRepository studyCourseRepository, IStudyGroupRepository studyGroupRepository)
 {
     this.profileDomainService  = profileDomainService;
     this.studyCourseRepository = studyCourseRepository;
     this.studyGroupRepository  = studyGroupRepository;
 }