Пример #1
0
        public AutchUserService(IConfiguracao configuracao)
        {
            this.configuracao = configuracao;
            var arquivo = this.configuracao.LerArquivo("../Auth/settings.json");

            this.auth = JsonConvert.DeserializeObject <MyAuth>(arquivo);
        }
Пример #2
0
 public AccountController(MyAuth myAuth)
 {
     this.myAuth = myAuth;
 }