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)
 {
 }
Exemplo n.º 3
0
 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)
 {
 }
Exemplo n.º 4
0
 public LikesController(ILikedService likedService)
 {
     _likedService = likedService;
 }