public HomeController(IBlogItemService BlogService, UserManager <IdentityUser> userManager, ApplicationDbContext context) { _BlogService = BlogService; _userManager = userManager; _context = context ?? throw new ArgumentNullException(nameof(context)); }
public StatsController(IChannelService channelService, IBlogItemService blogItemService, UserManager <IdentityUser> userManager, ApplicationDbContext context) { _blogItemService = blogItemService; _channelService = channelService; _userManager = userManager; _context = context ?? throw new ArgumentNullException(nameof(context)); }