Пример #1
0
 public UserDBReplica(RestaurantManager restaurantManager)
 {
     UserID = restaurantManager.UserID;
     E_Mail = restaurantManager.E_Mail;
     Password = restaurantManager.Password;
     FirstName = restaurantManager.FirstName;
     LastName = restaurantManager.LastName;
     RestaurantID = restaurantManager.RestaurantID;
     Discriminator = typeof(RestaurantManager).Name;
     Restaurant = restaurantManager.Restaurant;
 }
Пример #2
0
 public UserBLL(RestaurantManager restaurantManager)
 {
     UserID = restaurantManager.UserID;
     E_Mail = restaurantManager.E_Mail;
     Password = restaurantManager.Password;
     FirstName = restaurantManager.FirstName;
     LastName = restaurantManager.LastName;
     RestaurantID = restaurantManager.RestaurantID;
     Discriminator = typeof(RestaurantManager).Name;
     Restaurant = new RestaurantBLL(restaurantManager.Restaurant);
 }