Esempio n. 1
0
 public TrendBusinessLogic(IRepository <Trend> trendRepository, IRepository <TrendFollow> trendFollowRepository,
                           IMapper mapper, IContentScanTaskService contentScanTaskService, IImageService imageService)
 {
     this.trendRepository       = trendRepository;
     this.trendFollowRepository = trendFollowRepository;
     this.mapper = mapper;
     this.contentScanTaskService = contentScanTaskService;
     this.imageService           = imageService;
 }
 public PostBusinessLogic(IRepository <Post> postRepository, IRepository <PostReact> postReactRepository,
                          IMapper mapper, IContentScanTaskService contentScanTaskService, IImageService imageService)
 {
     this.postRepository      = postRepository;
     this.postReactRepository = postReactRepository;
     this.mapper = mapper;
     this.contentScanTaskService = contentScanTaskService;
     this.imageService           = imageService;
 }
Esempio n. 3
0
 public CommentBusinessLogic(IRepository <Post> postRepository, IRepository <Comment> commentRepository,
                             IRepository <CommentReact> commentReactRepository, IMapper mapper, IContentScanTaskService contentScanTaskService)
 {
     this.postRepository         = postRepository;
     this.commentRepository      = commentRepository;
     this.commentReactRepository = commentReactRepository;
     this.mapper = mapper;
     this.contentScanTaskService = contentScanTaskService;
 }