Exemplo n.º 1
0
        public ITAPP_CarWorkshopService.User MakeUserEntityFromUserModel()
        {
            var userEntity = new ITAPP_CarWorkshopService.User()
            {
                User_ID       = UserID,
                User_email    = UserEmail,
                User_password = UserPassword
            };

            return(userEntity);
        }
Exemplo n.º 2
0
 public void MakeUserModelFromUserEntity(ITAPP_CarWorkshopService.User userEntity)
 {
     UserID       = userEntity.User_ID;
     UserEmail    = userEntity.User_email;
     UserPassword = userEntity.User_password;
 }
Exemplo n.º 3
0
 public UserModel(ITAPP_CarWorkshopService.User entityUser)
 {
     MakeUserModelFromUserEntity(entityUser);
 }