public CashRegister(int number, Seller seller, CrmContext db) { Number = number; Seller = seller; Queue = new Queue <Cart>(); IsModel = true; MaxQueueLength = 10; this.db = db ?? new CrmContext(); }
public SQLCustomerRepository() { this.db = new CrmContext(); }