//private readonly IOptions<AppSettings> config; public UsersService(ExpensesDbContext context, IRegisterValidator registerValidator, IOptions <AppSettings> appSettings, IUser_UserRoleService user_userRoleService) { this.context = context; this.appSettings = appSettings.Value; this.registerValidator = registerValidator; this.user_userRoleService = user_userRoleService; }
public UsersController(IUsersService userService, IUser_UserRoleService user_userRoleService) { this.userService = userService; this.user_userRoleService = user_userRoleService; }