public ActionResult IgnoreRssData(string PostInformation)
        {
            RssClass IgnoredRss = new RssClass();

            IgnoredRss = JsonConvert.DeserializeObject <RssClass>(PostInformation);
            int status = 0;

            try
            {
                int userId = SessionManager.LoggedInUser.UserID;
                status = _manageRssFeedAPIController.IgnoreRssData(IgnoredRss.TextMessage, IgnoredRss.Url, userId, IgnoredRss.CreatedDate);
            }
            catch (Exception ex)
            {
                status = 0;
            }
            return(Json(new { status = status }, JsonRequestBehavior.AllowGet));
        }
        public ActionResult AddRssData(string PostInformation)
        {
            RssClass postedContent = new RssClass();

            postedContent = JsonConvert.DeserializeObject <RssClass>(PostInformation);
            int    status       = 0;
            string path         = string.Empty;
            string industryName = postedContent.CategoryName;

            if (smartData.Common.SessionManager.LoggedInUser.UserType != 3)
            {
                int IndustryId = smartData.Common.SessionManager.LoggedInUser.IndustryId;
                var industry   = _manageContentService.GetIndustryById(IndustryId);
                industryName = industry.IndustryName;
            }

            try
            {
                int userId = SessionManager.LoggedInUser.UserID;
                //if (postedContent.ImageArray.Count != 0 && postedContent.ImageArray[0]!="")
                //{
                //    if (postedContent.ImageArray[0].Contains("http"))
                //    {
                //      path =  DownloadImage(postedContent.ImageArray[0], userId);
                //    }
                //    else
                //    {
                //       var newImg = "http:"+postedContent.ImageArray[0];
                //      path =  DownloadImage(newImg, userId);
                //    }
                //}
                //status = _manageRssFeedAPIController.AddRssData(postedContent.TextMessage, postedContent.ImageArray, postedContent.Url, userId, postedContent.CategoryId, postedContent.SocialMedia, postedContent.CategoryName, postedContent.CreatedDate, postedContent.TextDescription,postedContent.SubIndustryName);
                status = _manageRssFeedAPIController.AddRssData(postedContent.TextMessage, postedContent.ImageArray[0], postedContent.Url, userId, postedContent.CategoryId, postedContent.SocialMedia, industryName, postedContent.CreatedDate, postedContent.TextDescription, postedContent.SubIndustryName, postedContent.Heading, postedContent.OriginalTitle, postedContent.feedID);
            }
            catch (Exception ex)
            {
                status = 0;
            }
            return(Json(new { status = status }, JsonRequestBehavior.AllowGet));
        }