public bool ContainsStatus(RemindStatus status) { if (this.m_remindStatus.Any()) { return(this.m_remindStatus.Any(item => item == status)); } return(true); }
public static void Save(decimal orderId, RemindStatus status, string carrier, Guid acceptor, string customNO = "") { var order = new RemindInfo() { Id = orderId, Status = status, Carrier = carrier, Acceptor = acceptor, CustomNO = customNO }; var repository = Repository.Factory.CreateRemindRepository(); repository.Save(order); }
public RemindData(RemindStatus status, int count) { this.Status = status; this.Count = count; }
public void ChangeStatus(int id, RemindStatus status) { ChangeCount(id, (int)status); }