public BaseController(Message message, IArticleService articleService, ICategoryService categoryService, ICommentService commentService, ILikedService likedService, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, RoleManager <AppRole> roleManager = null) { _userManager = userManager; _signInManager = signInManager; _roleManager = roleManager; _message = message; _articleService = articleService; _categoryService = categoryService; _commentService = commentService; _likedService = likedService; }
public LikedController(Message message, IArticleService articleService, ICategoryService categoryService, ICommentService commentService, ILikedService likedService, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, RoleManager <AppRole> roleManager = null) : base(message, articleService, categoryService, commentService, likedService, userManager, signInManager) { }
public AdminController(Message message, IArticleService articleService, ICategoryService categoryService, ICommentService commentService, ILikedService likedService, UserManager <AppUser> userManager, RoleManager <AppRole> roleManager) : base(message, articleService, categoryService, commentService, likedService, userManager, null, roleManager) { }
public LikesController(ILikedService likedService) { _likedService = likedService; }