public PosEvent() { this.promoField = new PosEventPromo(); this.compField = new PosEventComp(); this.paymentField = new PosEventPayment(); this.deletedField = new PosEventDeleted(); this.itemField = new List<PosEventItem>(); this.employeeField = new PosEventEmployee(); }
public PosEvent(string eventName, int terminalId, PosEventEmployee employee, List<PosEventDeletedItems> lstItemsDeleted, int iReasonId) : this(eventName, terminalId, employee) { Deleted = new PosEventDeleted { Items = lstItemsDeleted, ReasonId = iReasonId }; }