public HomePageController(ICommentLikeRepo CommentLike, ICommentRepo PostComments, IPostRepo Post, IFriendRepo Friends, IPostLikeRepo PostLikes) { _Post = Post; _Friends = Friends; _PostLikes = PostLikes; _PostComments = PostComments; _CommentLike = CommentLike; }
public ArticleService(IUserService uService, IArticleRepo repo, IRepo <ArticleComment> cRepo, IArticleLikeRepo alRepo, ICommentLikeRepo clRepo) { _uService = uService; _repo = repo; _cRepo = cRepo; _alRepo = alRepo; _clRepo = clRepo; }
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; }
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; }