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