Created
November 18, 2020 23:42
-
-
Save EduardoReisDev/3d2f88956fccd3781097b6fd3e842502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using Pokedex.Model; | |
using Refit; | |
using Xamarin.Forms; | |
namespace Pokedex.Services | |
{ | |
public interface IPokemonAPI | |
{ | |
[Get("/pokemon/{name}")] | |
Task<Pokemon> GetPokemonAsync(string name); | |
Task GetPokemonAsync(Entry entry_pokemon); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment