public SecretController() { IValidationDictionary validationDictionary = new ModelStateWrapper(ModelState); _secretService = new SecretService(validationDictionary); _sshSecretService = new SshSecretService(validationDictionary, true); _ctx = new CurrentContext(); }
public UserController() { _ctx = new CurrentContext(); validationDictionary = new ModelStateWrapper(ModelState); _facade = new UserFacade(validationDictionary); _sshSecretService = new SshSecretService(validationDictionary, true); _statusService = new StatusService(validationDictionary); _profileService = new ProfileService(validationDictionary); }