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

            return(Ok(repo));
        }
Example #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));
        }