Last active
December 29, 2019 12:09
-
-
Save merken/8470a873e1832e2b068cd0c8d2a1899d to your computer and use it in GitHub Desktop.
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 System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace Contract | |
{ | |
public interface IProductsRepository | |
{ | |
Task<IEnumerable<Product>> All(); | |
Task<Product> Get(int productId); | |
} | |
public class Product | |
{ | |
public int Id { get; set; } | |
public string Name { get; set; } | |
public string SKU { get; set; } | |
public string Description { get; set; } | |
public decimal PriceExlVAT { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment