public ITAPP_CarWorkshopService.User MakeUserEntityFromUserModel() { var userEntity = new ITAPP_CarWorkshopService.User() { User_ID = UserID, User_email = UserEmail, User_password = UserPassword }; return(userEntity); }
public void MakeUserModelFromUserEntity(ITAPP_CarWorkshopService.User userEntity) { UserID = userEntity.User_ID; UserEmail = userEntity.User_email; UserPassword = userEntity.User_password; }
public UserModel(ITAPP_CarWorkshopService.User entityUser) { MakeUserModelFromUserEntity(entityUser); }