Skip to content

Instantly share code, notes, and snippets.

@olexale
Created November 23, 2017 09:21
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 olexale/7c25e4cab5b8341d9b93f66e85ce0621 to your computer and use it in GitHub Desktop.
Save olexale/7c25e4cab5b8341d9b93f66e85ce0621 to your computer and use it in GitHub Desktop.
public interface IProfileApi
{
 Task<Profile> GetProfile(int id);
 Task<Profile> GetMyProfile();
 Task UpdateMyProfile(Profile profile);
 Task<IEnumerable<Post>> GetPosts(int profile);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment