Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2021 21:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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