Example #1
0
 public CardsController(
     IValidator validator,
     BattleCardsDbContext data)
 {
     this.validator = validator;
     this.data      = data;
 }
Example #2
0
 public UsersController(
     IValidator validator,
     IPasswordHasher passwordHasher,
     BattleCardsDbContext data)
 {
     this.validator      = validator;
     this.passwordHasher = passwordHasher;
     this.data           = data;
 }