public CommentReplyManager(ICommentReplyStore icommentReplyStore,
                            ICommentStore commentStore,
                            IMapper mapper)
 {
     _icommentReplyStore = icommentReplyStore ?? throw new ArgumentNullException(nameof(icommentReplyStore));
     _icommentStore      = commentStore ?? throw new ArgumentNullException(nameof(commentStore));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #2
0
 public GetPostDetailsQuery(IdentityUser CurrentUser, UserAccount OwnerOfPost, Post Post, IUserStore UserStore,
                            ICommentStore CommentStore, UserAccount CurrentUserAccount)
 {
     this.CurrentUser        = CurrentUser;
     this.OwnerOfPost        = OwnerOfPost;
     this.ExistingPost       = Post;
     this.UserStore          = UserStore;
     this.CommentStore       = CommentStore;
     this.CurrentUserAccount = CurrentUserAccount;
 }
Beispiel #3
0
 public CommentManager(ICommentStore icommentStore,
                       IGiveLikeStore igiveLikeStore,
                       IBuildingStore buildingStore,
                       IMapper mapper)
 {
     _igiveLikeStore = igiveLikeStore ?? throw new ArgumentNullException(nameof(igiveLikeStore));
     _icommentStore  = icommentStore ?? throw new ArgumentNullException(nameof(icommentStore));
     _ibuildingStore = buildingStore ?? throw new ArgumentNullException(nameof(buildingStore));
     _mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #4
0
 public PostsController(UserManager <User> userManager, SignInManager <User> signInManager, ApplicationDbContext _context,
                        IUserStore _userStore, IPostStore _postStore, ICommentStore _commentStore, CurrentPostDTO _currentpost,
                        IFriendsListStore _FriendListStore, INotificationBox _notificationBox, ILogger <PostsController> _logger)
 {
     this.userManager      = userManager;
     this.signInManager    = signInManager;
     this._context         = _context;
     this._userStore       = _userStore;
     this._postStore       = _postStore;
     this._commentStore    = _commentStore;
     this._currentpost     = _currentpost;
     this._FriendListStore = _FriendListStore;
     this._notificationBox = _notificationBox;
     this._logger          = _logger;
 }
Beispiel #5
0
 public CommentController(ICommentStore commentStore)
 {
     this.commentStore = commentStore;
 }
 public CommentManager(ICommentStore commentStore)
 {
     _commentStore = commentStore;
 }