public string UpdateLinkedInCompanyPage(LinkedInManager LinkedInManager)
 {
    oAuthLinkedIn _oauth = new oAuthLinkedIn();
    Domain.Socioboard.Domain.LinkedinCompanyPage _LinkedinCompanyPage = objLinkedCmpnyPgeRepo.getCompanyPageInformation(LinkedInManager.ProfileId);
    _oauth.ConsumerKey = ConfigurationManager.AppSettings["LinkedinApiKey"];
    _oauth.ConsumerSecret = ConfigurationManager.AppSettings["LinkedinSecretKey"];
    _oauth.Verifier = _LinkedinCompanyPage.OAuthVerifier;
    _oauth.TokenSecret = _LinkedinCompanyPage.OAuthSecret;
    _oauth.Token = _LinkedinCompanyPage.OAuthToken;
    _oauth.Id = _LinkedinCompanyPage.LinkedinPageId;
    _oauth.FirstName = _LinkedinCompanyPage.LinkedinPageName;
    GlobusLinkedinLib.App.Core.LinkedinCompanyPage objLinedInCmpnyPage = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage();
    GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile objCompanyProfile = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile();
    objCompanyProfile = objLinedInCmpnyPage.GetCompanyPageProfile(_oauth, LinkedInManager.ProfileId);
    GetPageProfile(objCompanyProfile, _oauth, _LinkedinCompanyPage.UserId.ToString(), _LinkedinCompanyPage.LinkedinPageId, LinkedInManager.GroupId);
    GetLinkedinCompanyPageFeeds(_oauth, _LinkedinCompanyPage.UserId.ToString(), _LinkedinCompanyPage.LinkedinPageId);
    return "LinkedCompanyPageUpdated";
  }
        public string AddLinkedinCompanyPage(string CompanyPageId, string oauth, string UserId, string GroupId)
        {
            oAuthLinkedIn _oauth = new oAuthLinkedIn();
            _oauth = (oAuthLinkedIn)(new JavaScriptSerializer().Deserialize(oauth, typeof(oAuthLinkedIn)));

            GlobusLinkedinLib.App.Core.LinkedinCompanyPage objLinedInCmpnyPage = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage();
            GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile objCompanyProfile = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile();
            objCompanyProfile = objLinedInCmpnyPage.GetCompanyPageProfile(_oauth, CompanyPageId);
            GetPageProfile(objCompanyProfile, _oauth, UserId, CompanyPageId, GroupId);
            GetLinkedinCompanyPageFeeds(_oauth, UserId, CompanyPageId);
            return "";
        }
        public IHttpActionResult AddLinkedinCompanyPage(LinkedInManager LinkedInManager)
        {
            oAuthLinkedIn _oauth = new oAuthLinkedIn();
            _oauth = (oAuthLinkedIn)(new JavaScriptSerializer().Deserialize(LinkedInManager.Oauth, typeof(oAuthLinkedIn)));

            GlobusLinkedinLib.App.Core.LinkedinCompanyPage objLinedInCmpnyPage = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage();
            GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile objCompanyProfile = new GlobusLinkedinLib.App.Core.LinkedinCompanyPage.CompanyProfile();
            objCompanyProfile = objLinedInCmpnyPage.GetCompanyPageProfile(_oauth, LinkedInManager.ProfileId);
            GetPageProfile(objCompanyProfile, _oauth, LinkedInManager.UserId, LinkedInManager.ProfileId, LinkedInManager.GroupId);
            GetLinkedinCompanyPageFeeds(_oauth, LinkedInManager.UserId,LinkedInManager.ProfileId);
           return Ok();
        }