Created
December 1, 2018 04:03
-
-
Save MBehtemam/a8c66e8f5bb99b76f2040d60432064e5 to your computer and use it in GitHub Desktop.
ITodo Repository
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 TodoAPI.Models; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
namespace TodoAPI.Data | |
{ | |
public interface ITodoRepository | |
{ | |
Task<Todo> GetTodoById(int id); | |
Task<List<Todo>> GetTodos(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment