Example #1
0
 public FilterPostsController(
     IPostFilterService postFilterService,
     IApiResultService apiResultService,
     ICommentFilterService commentFilterService)
 {
     this.postFilterService    = postFilterService;
     this.apiResultService     = apiResultService;
     this.commentFilterService = commentFilterService;
 }
Example #2
0
 public CommentFilterService(
     IQueryService queryService,
     IPagingValidator pagingValidator,
     IApiResultService apiResultService,
     IMapper mapper)
 {
     this.queryService     = queryService;
     this.pagingValidator  = pagingValidator;
     this.apiResultService = apiResultService;
     this.mapper           = mapper;
 }
Example #3
0
 public PostReactionCreationService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IQueryService queryService,
     IApiResultService apiResultService,
     IUserService userService,
     IScoreService scoreService)
 {
     this.unitOfWorkFactory = unitOfWorkFactory;
     this.queryService      = queryService;
     this.apiResultService  = apiResultService;
     this.userService       = userService;
     this.scoreService      = scoreService;
 }
Example #4
0
 public CommentCreationService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IQueryService queryService,
     IUserService userService,
     IApiResultService apiResultService,
     IMapper mapper,
     IScoreService scoreService)
 {
     this.unitOfWorkFactory = unitOfWorkFactory;
     this.queryService      = queryService;
     this.userService       = userService;
     this.apiResultService  = apiResultService;
     this.mapper            = mapper;
     this.scoreService      = scoreService;
 }
Example #5
0
 public PostFilterService(
     IQueryService queryService,
     IPagingValidator pagingValidator,
     ICommentFilterService commentFilterService,
     IScoreService scoreService,
     IMapper mapper,
     IApiResultService apiResultService)
 {
     this.queryService         = queryService;
     this.pagingValidator      = pagingValidator;
     this.commentFilterService = commentFilterService;
     this.scoreService         = scoreService;
     this.mapper           = mapper;
     this.apiResultService = apiResultService;
 }
 public PostCreationService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IFileCreationService fileCreationService,
     IUserService userService,
     IScoreService scoreService,
     IApiResultService apiResultService,
     IMapper mapper,
     ISentimentService sentimentService)
 {
     this.unitOfWorkFactory   = unitOfWorkFactory;
     this.fileCreationService = fileCreationService;
     this.userService         = userService;
     this.scoreService        = scoreService;
     this.apiResultService    = apiResultService;
     this.mapper           = mapper;
     this.sentimentService = sentimentService;
 }
Example #7
0
 public UserService(
     IHttpContextAccessor httpContextAccessor,
     IQueryService queryService,
     IUnitOfWorkFactory unitOfWorkFactory,
     IPictureService pictureService,
     IApiResultService apiResultService,
     IScoreService scoreService,
     IMapper mapper)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.queryService        = queryService;
     this.unitOfWorkFactory   = unitOfWorkFactory;
     this.pictureService      = pictureService;
     this.apiResultService    = apiResultService;
     this.scoreService        = scoreService;
     this.mapper = mapper;
 }
 public ValidateActionFilter(IServiceProvider provider, IApiResultService apiResultService)
 {
     this.provider         = provider;
     this.apiResultService = apiResultService;
 }
Example #9
0
 public AccountsController(UserManager <AppUser> userManager, IApiResultService apiResultService)
 {
     this.userManager      = userManager;
     this.apiResultService = apiResultService;
 }
Example #10
0
 public SentimentService(IApiResultService apiResultService)
 {
     this.apiResultService = apiResultService;
 }
 public PostReactionController(IApiResultService apiResultService, IPostReactionCreationService postReactionCreationService)
 {
     this.apiResultService            = apiResultService;
     this.postReactionCreationService = postReactionCreationService;
 }
 public ValidationBusinessRule(IValidatorFactory validatorFactory, IApiResultService apiResultService)
 {
     this.validatorFactory = validatorFactory;
     this.apiResultService = apiResultService;
 }
Example #13
0
 public UserBusinessRule(IApiResultService apiResultService)
 {
     this.apiResultService = apiResultService;
 }
Example #14
0
 public UserController(IApiResultService apiResultService, IUserService userService, IScoreService scoreService)
 {
     this.apiResultService = apiResultService;
     this.userService      = userService;
     this.scoreService     = scoreService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VotePostController"/> class.
 /// </summary>
 /// <param name="voteService">The service to vote for a post.</param>
 /// <param name="apiResultService">The service to format API results.</param>
 public VotePostController(IVoteService voteService, IApiResultService apiResultService)
 {
     this.voteService      = voteService;
     this.apiResultService = apiResultService;
 }
Example #16
0
 public ScoreService(IQueryService queryService, IApiResultService apiResultService)
 {
     this.queryService     = queryService;
     this.apiResultService = apiResultService;
 }
Example #17
0
 public PagingValidator(IApiResultService apiResultService)
 {
     this.apiResultService = apiResultService;
 }
Example #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TagsController"/> class.
 /// </summary>
 /// <param name="postTaggingService">The service used to tag a post.</param>
 /// <param name="apiResultService">The service to format API results.</param>
 public TagsController(IPostTaggingService postTaggingService, IApiResultService apiResultService)
 {
     this.apiResultService   = apiResultService;
     this.postTaggingService = postTaggingService;
 }
 public CreatePostsController(IPostCreationService postCreationService, IApiResultService apiResultService)
 {
     this.postCreationService = postCreationService;
     this.apiResultService    = apiResultService;
 }
Example #20
0
 public GoogleTokenValidator(IApiResultService apiResultService)
 {
     this.tokenHandler     = new JwtSecurityTokenHandler();
     this.apiResultService = apiResultService;
 }
Example #21
0
 public FileController(IApiResultService apiResultService, IFileService fileService)
 {
     this.apiResultService = apiResultService;
     this.fileService      = fileService;
 }
Example #22
0
 public FileCreationService(IQueryService queryService, IUnitOfWorkFactory unitOfWorkFactory, IApiResultService apiResultService)
 {
     this.queryService      = queryService;
     this.unitOfWorkFactory = unitOfWorkFactory;
     this.apiResultService  = apiResultService;
 }
Example #23
0
 public CreateCommentsController(ICommentCreationService commentCreationService, IApiResultService apiResultService)
 {
     this.commentCreationService = commentCreationService;
     this.apiResultService       = apiResultService;
 }