Skip to content

Instantly share code, notes, and snippets.

Created May 7, 2016
What would you like to do?
// Cart là module cấp cao
public class Cart
public void Checkout(int orderId, int userId)
// Database, Logger, EmailSender là module cấp thấy
Database db = new Database();
Logger log = new Logger();
log.LogInfo("Order has been checkout");
EmailSender es = new EmailSender();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment