Created
January 30, 2019 15:25
-
-
Save evgomes/d60b53cb84a59aee2d0ea708c352e4f6 to your computer and use it in GitHub Desktop.
ICategoryService with new SaveAsync 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
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using Supermarket.API.Domain.Models; | |
using Supermarket.API.Domain.Services.Communication; | |
namespace Supermarket.API.Domain.Services | |
{ | |
public interface ICategoryService | |
{ | |
Task<IEnumerable<Category>> ListAsync(); | |
Task<SaveCategoryResponse> SaveAsync(Category category); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment