Esempio n. 1
0
        public async Task <ActionResult> Get()
        {
            RepoSoftplayerInfoAPIService serviceAPI = new RepoSoftplayerInfoAPIService();
            ShowRepoService RepoService             = new ShowRepoService(serviceAPI);
            RepoDTO         repo = await RepoService.Execute();

            return(Ok(repo));
        }
Esempio n. 2
0
        public async Task <ActionResult> Get()
        {
            //TODO
            //Se der tempo adicionar ijeção de dependencia
            RepoSoftplayerInfoAPIService serviceAPI = new RepoSoftplayerInfoAPIService();
            ShowRepoService RepoService             = new ShowRepoService(serviceAPI);
            RepoDTO         repo = await RepoService.Execute();

            return(Ok(repo));
        }