Пример #1
0
 public AccountController(IAuthentificationService authentificationService, Repository repository)
 {
     Repository = repository ?? new Repository();
     AuthentificationService = authentificationService ?? new AuthentificationService(Repository);
     validator = new AccountInputValidator(ModelState);
 }
Пример #2
0
 public AccountController(IAuthentificationService authentificationService, Repository repository)
 {
     Repository = repository ?? new Repository();
     AuthentificationService = authentificationService ?? new AuthentificationService(Repository);
     validator = new AccountInputValidator(ModelState);
 }