Ejemplo n.º 1
0
 public AccountController(IAuthentificationService authentificationService, Repository repository)
 {
     Repository = repository ?? new Repository();
     AuthentificationService = authentificationService ?? new AuthentificationService(Repository);
     validator = new AccountInputValidator(ModelState);
 }
Ejemplo n.º 2
0
 public AccountController(IAuthentificationService authentificationService, Repository repository)
 {
     Repository = repository ?? new Repository();
     AuthentificationService = authentificationService ?? new AuthentificationService(Repository);
     validator = new AccountInputValidator(ModelState);
 }