Skip to content

Instantly share code, notes, and snippets.

Last active Nov 22, 2019
What would you like to do?
class Store
private double revenue;
private List<string> storeProducts;
public Store(RevenueGenerator generator)
revenue = generator.GenerateCurrentRevenue();
storeProducts = new List<string>();
async Task UpdateStoreRevenue(Product product)
var token = HelperClass.GenerateTokenOrSomething();
await HelperClass.UpdateStoreRevenue(token, product);
revenue += product.Price;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment