Created
January 31, 2019 13:35
-
-
Save evgomes/ffab9b7a5d5b3b7cd6036c63cb3c37d1 to your computer and use it in GitHub Desktop.
ICategoryService with DeleteAsync method, of 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 ICategoryService | |
{ | |
Task<IEnumerable<Category>> ListAsync(); | |
Task<CategoryResponse> SaveAsync(Category category); | |
Task<CategoryResponse> UpdateAsync(int id, Category category); | |
Task<CategoryResponse> DeleteAsync(int id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment