/// <summary>
        /// Updates the social relationship.
        /// </summary>
        /// <param name="appointment">The SocialRelationshipViewModel.</param>
        /// <returns></returns>
        public Response <SocialRelationshipViewModel> UpdateSocialRelationship(SocialRelationshipViewModel appointment)
        {
            const string apiUrl = baseRoute + "UpdateSocialRelationship";

            return
                (communicationManager.Put <SocialRelationshipModel, Response <SocialRelationshipModel> >(appointment.ToModel(), apiUrl)
                 .ToViewModel());
        }
        /// <summary>
        /// Adds the social relationship.
        /// </summary>
        /// <param name="model">The SocialRelationshipViewModel.</param>
        /// <returns></returns>
        public Response <SocialRelationshipViewModel> AddSocialRelationship(SocialRelationshipViewModel model)
        {
            const string apiUrl = baseRoute + "AddSocialRelationship";

            return
                (communicationManager.Post <SocialRelationshipModel, Response <SocialRelationshipModel> >(model.ToModel(), apiUrl)
                 .ToViewModel());
        }