public AutchUserService(IConfiguracao configuracao) { this.configuracao = configuracao; var arquivo = this.configuracao.LerArquivo("../Auth/settings.json"); this.auth = JsonConvert.DeserializeObject <MyAuth>(arquivo); }
public AccountController(MyAuth myAuth) { this.myAuth = myAuth; }