public PmtctApiController(PmtctContext context, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, ICurrentUserService currentUserService) { _context = context; _userManager = userManager; _roleManager = roleManager; this.currentUserService = currentUserService ?? throw new ArgumentNullException(nameof(currentUserService)); }
public AdministrationController(ILogger <HomeController> logger, PmtctContext context, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager ) { _userManager = userManager; _roleManager = roleManager; _context = context; _logger = logger; }
public PmtctService(PmtctContext context) { _context = context; }
public PmtctFollowApiController(PmtctContext context) { _context = context; }