コード例 #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);
 }