Skip to content

Instantly share code, notes, and snippets.

@EduardoReisDev
Created November 18, 2020 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EduardoReisDev/3d2f88956fccd3781097b6fd3e842502 to your computer and use it in GitHub Desktop.
Save EduardoReisDev/3d2f88956fccd3781097b6fd3e842502 to your computer and use it in GitHub Desktop.
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