-
-
Save dcomartin/043193aa1e4f93cb973b8e5c522b4cd4 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
public interface ICatalogService | |
{ | |
Task<Product> GetProductBySku(string sku); | |
Task<Product> GetProductForSaleBySku(string sku); | |
Task<List<Product>> GetProducts(); | |
Task UpdateProductInfo(); | |
} | |
public interface ISalesService | |
{ | |
Task IncreasePrice(string sku, decimal price); | |
Task DecreasePrice(string sku, decimal price); | |
} | |
public interface IPurchasingService | |
{ | |
Task IncreaseCost(string sku, decimal cost); | |
Task DecreaseCost(string sku, decimal cost); | |
} | |
public interface IWarehouseService | |
{ | |
Task ShipProduct(string sku, Guid salesOrderId); | |
Task ReceiveProduct(string sku, Guid purchaseOrderId); | |
Task AdjustInventory(string sku, int quantity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment