Ejemplo n.º 1
0
        public HomeController(ArticleService articleService, UserManager <ApplicationUser> userManager, UserLikeService userLikeService, ArticleCommentService articleCommentService)
        {
            _articleService        = articleService;
            _userLikeService       = userLikeService;
            _articleCommentService = articleCommentService;

            _userManager = userManager;
        }
Ejemplo n.º 2
0
 public ForumController(UserService userService, PostService postService, CommentService commentService
                        , UserLikeService userLikeService, UserManager <IdentityUser> userManager)
 {
     this.userService     = userService;
     this.postService     = postService;
     this.commentService  = commentService;
     this.userLikeService = userLikeService;
     this.userManager     = userManager;
 }