public DeskQuote(string name, int rush) { this.name = name; this.rush = (RUSH)rush; try { this.calculatePrice(); } catch (Exception exception) { } this.date = DateTime.Now; }
public DeskQuote(string name, int rush, Desk desk) { this.name = name; this.desk = desk; this.rush = (RUSH)rush; getRushOrder(); this.date = DateTime.Now; try { this.calculatePrice(); } catch (Exception exception) { } }