public void ChangeTableTo(Table aNewTable) { //try //{ // dinningProxy.ChangeTable(Table.Number, aNewTable.Number); //} //catch (FaultException<HCSMSException> ex) //{ // raiseError(ex); //} //catch (Exception ex) //{ // raiseError(ex); //} }
public TableUI(Table aTable, Session session) : this(session) { this.Table = aTable; }
private TableUI(Session session) : base(session) { Table = new Table(); }
private static Table convertToTable(string id, string location, string name, int seatAmount, string status, string type) { Table table = new Table(); table.Number = id; table.Location = location; table.Name = name; table.SeatAmount = seatAmount; table.Status =(TableStatus) Enum.Parse(typeof(TableStatus),status); table.Type = type; return table; }