public static void NotifyOrderIsBeingProcessed(CustomerBase customer, ProductBase product) { NotifyOrderChangedState(customer, product, "Processing"); }
public void Update(CustomerBase obj) { throw new NotSupportedException(); }
public static void NotifyOrderChangedState(CustomerBase customer, ProductBase product, string state) { Notify(customer.Email, string.Format(OrderChangedStateMessageFormat, product.Id, state)); }
public static void NotifyOrderCantBeHeld(CustomerBase c, ProductBase product) { Notify(c.Email, string.Format(OrderCantBeHeldMessageFormat, product.Id)); }
public void Update(CustomerBase obj) { }
public void Delete(CustomerBase obj) { _ctx.Customer.Remove((Customer)obj); }
public void Create(CustomerBase obj) { _ctx.Customer.Add((Customer)obj); }