Created
January 30, 2019 15:39
-
-
Save evgomes/88c418a20fed0f9b34661a86ef095c21 to your computer and use it in GitHub Desktop.
ICategoryRepository with AddAsync method, from Supermarket API
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 ICategoryRepository | |
{ | |
Task<IEnumerable<Category>> ListAsync(); | |
Task AddAsync(Category category); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment