public NewPostNotifier(IPostNotificationService postNotificationService, IUserService userService, INotificationService notificationService, IMapper mapper) { _postNotificationService = postNotificationService; _userService = userService; _notificationService = notificationService; _mapper = mapper; }
public PostService( IUnitOfWork2 uow, IPermissionService permissionService, IPostNotificationService postNotificationService, ICommentService commentService) { _uow = uow; _permissionService = permissionService; _postNotificationService = postNotificationService; _commentService = commentService; _postsDbSet = uow.GetDbSet <Post>(); _usersDbSet = uow.GetDbSet <ApplicationUser>(); _moderatorsDbSet = uow.GetDbSet <WallModerator>(); _wallsDbSet = uow.GetDbSet <EntityModels.Models.Multiwall.Wall>(); }
public SharedEventNotifier(IWallService wallService, IPostNotificationService postNotificationService) { _wallService = wallService; _postNotificationService = postNotificationService; }