public RoleController(RoleManager <ApplicationRole> roleManager, UserManager <ApplicationUser> userManager, IKsI18N i18n, IMapper mapper) { this.roleManager = roleManager; this.userManager = userManager; this.i18n = i18n; this.localize = this.i18n.GetLocalizer <RoleController>(); this.mapper = mapper; }
public UserController( SignInManager <ApplicationUser> signInManager, ILogger <UserController> logger, IConfiguration configuration, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, ITokenHelper tokenHelper, IKsI18N i18n, IMapper mapper) { this.signInManager = signInManager; this.logger = logger; this.configuration = configuration; this.userManager = userManager; this.roleManager = roleManager; this.tokenHelper = tokenHelper; this.i18n = i18n; this.localize = this.i18n.GetLocalizer <UserController>(); this.mapper = mapper; }
public ValidateModelAttribute(IKsI18N i18n) { this.i18n = i18n; this.localize = this.i18n.GetLocalizer <ValidateModelAttribute>(); }
public ResetPasswordResponseExample(IKsI18N i18n) { this.i18n = i18n; this.localize = this.i18n.GetLocalizer <UserController>(); }