protected override void DoFileInteraction(FileInfo fi) { BillContainer container = new BillContainer(BillStack, false); container.Save(fi); base.Close(); }
protected override void DoFileInteraction(FileInfo fi) { if (!fi.Exists) { return; } BillContainer container = new BillContainer(BillStack, Append); container.Load(fi); base.Close(); }
private Table ConvertFromDTO(TableDTO tableDTO) { Bill bill = new BillContainer().ConvertFromDTO(tableDTO.Bill); return(new Table(tableDTO.TableNumber, tableDTO.Status, bill)); }