示例#1
0
 /// <summary>
 /// Rekonstrukcja formularza z danych przesłanych przez użytkownika
 /// </summary>
 /// <param name="receivedForm">Wpisane dane</param>
 public RestaurantWorkerForm(RestaurantWorkerForm receivedForm)
 {
     this.RestaurantWorkerId = receivedForm.RestaurantWorkerId;
     this.Firstname          = receivedForm.Firstname;
     this.Lastname           = receivedForm.Lastname;
     this.Nick           = receivedForm.Nick;
     this.Position       = receivedForm.Position;
     this.RestaurantName = receivedForm.RestaurantName;
     this.RestaurantId   = receivedForm.RestaurantId;
     this.Login          = receivedForm.Login;
     this.Password       = receivedForm.Password;
 }