Ejemplo n.º 1
0
 public void setUp()
 {
     controller = new ResRestaurantController();
     rr         = new reservationRestaurant();
     restaurant = new Restaurant("Yosemite",
                                 200,
                                 true,
                                 4,
                                 "Tsingy",
                                 21,
                                 "Wadsdworth Longfellow",
                                 "A great picture of the Dead Sea could be here, you know?",
                                 "Listen, strange women lying in ponds distributing swords is no basis for a system of government… You can’t expect to wield supreme power just ‘cause some watery tart threw a sword at you!",
                                 "021221546352",
                                 1,
                                 "As it turns out, Mount Kilimanjaro is not wi-fi enabled, so I had to spend two weeks in Tanzania talking to the people on my trip.");
 }
Ejemplo n.º 2
0
 public static UpdateResRestaurantCommand UpdateResRestaurantCommand(int idPay, reservationRestaurant Rest)
 {
     return(new UpdateResRestaurantCommand(idPay, Rest));
 }
Ejemplo n.º 3
0
 public UpdateResRestaurantCommand(int idPay, reservationRestaurant restId)
 {
     this.idPay  = idPay;
     this.restId = restId;
 }