Created
May 12, 2018 18:46
-
-
Save shanmugasanthosh7/ad6edcd6ec18b45ee6a80bae37525b70 to your computer and use it in GitHub Desktop.
Api endpoints
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
public interface IApiService | |
{ | |
[Get("/posts/1")] | |
Task<Post> GetPost(); | |
[Get("/todos/1")] | |
Task<ToDo> GetToDo(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment