public AdminExtendedProfile(IExtendedProfile apiExtendedProfile) { var profile = apiExtendedProfile as ApiExtendedProfile; if (profile != null) { CountriesToVisit = profile.CountriesToVisit; this.LanguagesSpoken = profile.LanguagesSpoken; this.Profile = profile.Profile; this.Searches = profile.Searches; } }
public AdminExtendedProfile(IExtendedProfile apiExtendedProfile) { var profile = apiExtendedProfile as ApiExtendedProfile; if (profile != null) { CountriesToVisit = profile.CountriesToVisit; this.LanguagesSpoken = profile.LanguagesSpoken; this.Profile = profile.Profile; this.Searches = profile.Searches; } }