public UsersService(TasksDbContext context, IRegisterValidator registerValidator, IUserUserRoleService userUserRolesService, IOptions <AppSettings> appSettings) { this.context = context; this.appSettings = appSettings.Value; this.registerValidator = registerValidator; this.userUserRolesService = userUserRolesService; }
public UsersController(IUsersService userService, IUserUserRoleService userUserRolesService) { this.userService = userService; this.userUserRolesService = userUserRolesService; }