Exemplo n.º 1
0
 public PostDataService(
     IEntityContext context,
     IPostCacheService postCacheService,
     IUserLikesDataService userLikesDataService,
     IUserLikeCacheService userLikesCacheService,
     IUserFollowCacheService userFollowCacheService,
     IGroupDataService groupDataService,
     IGroupCacheService groupCacheService,
     IReviewCacheService reviewCacheService,
     IReviewDataService reviewDataService,
     ICommentCacheService commentCacheService,
     ICommentDataService commentDataService,
     IOptions <UserProfileImageSettings> userProfileImageSettings
     )
 {
     _context                  = context;
     _postCacheService         = postCacheService;
     _userLikesCacheService    = userLikesCacheService;
     _userLikesDataService     = userLikesDataService;
     _userFollowCacheService   = userFollowCacheService;
     _groupDataService         = groupDataService;
     _groupCacheService        = groupCacheService;
     _reviewCacheService       = reviewCacheService;
     _reviewDataService        = reviewDataService;
     _commentCacheService      = commentCacheService;
     _commentDataService       = commentDataService;
     _userProfileImageSettings = userProfileImageSettings.Value;
 }
Exemplo n.º 2
0
 public FeedDataService(
     IEntityContext context,
     IMapper mapper,
     IOptions <UserProfileImageSettings> options,
     IUserFollowCacheService userFollowCacheService,
     IReviewCacheService reviewCacheService,
     IReviewDataService reviewDataService,
     IUserInfoCacheService userCacheService,
     IGroupCacheService groupCacheService,
     IPostDataService postDataService,
     IUserLikeCacheService userLikesCacheService,
     IUserLikesDataService userLikesDataService,
     IPostCacheService postCacheService,
     IUserInfoDataService userInfoDataService
     )
 {
     _context = context;
     _mapper  = mapper;
     _userFollowCacheService   = userFollowCacheService;
     _groupCacheService        = groupCacheService;
     _userProfileImageSettings = options.Value;
     _userLikesCacheService    = userLikesCacheService;
     _userLikesDataService     = userLikesDataService;
     _reviewCacheService       = reviewCacheService;
     _userCacheService         = userCacheService;
     _reviewDataService        = reviewDataService;
     _postDataService          = postDataService;
     _userInfoDataService      = userInfoDataService;
     _postCacheService         = postCacheService;
 }
Exemplo n.º 3
0
 public GroupDataService(
     IEntityContext context,
     IGroupCacheService groupCacheService,
     IUserLikeCacheService userLikesCacheService,
     IUserInfoCacheService userCacheService,
     IUserLikesDataService userLikesDataService,
     ITrendingDataService trendingDataService,
     IUserFollowCacheService userFollowCacheService,
     ITrendingCacheService trendingCacheService,
     IPostCacheService postCacheService,
     IOptions <UserProfileImageSettings> _userImageSettings
     )
 {
     _context = context;
     _userProfileImageSettings = _userImageSettings.Value;
     _postCacheService         = postCacheService;
     _userCacheService         = userCacheService;
     _groupCacheService        = groupCacheService;
     _userLikesDataService     = userLikesDataService;
     _userLikesCacheService    = userLikesCacheService;
     _userFollowCacheService   = userFollowCacheService;
     _trendingDataService      = trendingDataService;
     _trendingCacheService     = trendingCacheService;
     _dbEntitySet        = _context.Set <Group>();
     _userGroupEntitySet = _context.SetChild <UserGroup>();
 }