public HomePageController(ICommentLikeRepo CommentLike, ICommentRepo PostComments, IPostRepo Post, IFriendRepo Friends, IPostLikeRepo PostLikes)
 {
     _Post         = Post;
     _Friends      = Friends;
     _PostLikes    = PostLikes;
     _PostComments = PostComments;
     _CommentLike  = CommentLike;
 }
 public ProfileController(ICommentLikeRepo CommentLike, IUserRepo User, ICommentRepo PostComments, IPostRepo Post, IFriendRepo Friends, IPostLikeRepo PostLikes)
 {
     _Post         = Post;
     _Friends      = Friends;
     _PostLikes    = PostLikes;
     _PostComments = PostComments;
     _CommentLike  = CommentLike;
     _User         = User;
 }
Exemplo n.º 3
0
 public ProfileController(ApplicationDbContext db, ICommentLikeRepo CommentLike, IUserRepo User, ICommentRepo PostComments, IPostRepo Post, IFriendRepo Friends, IPostLikeRepo PostLikes)
 {
     _Post         = Post;
     _Friends      = Friends;
     _PostLikes    = PostLikes;
     _PostComments = PostComments;
     _CommentLike  = CommentLike;
     _User         = User;
     this.db       = db;
 }