private SyndicationItem GetActiveSyndication(Tender tender) { string id = "" + tender.Id; var title = tender.TenderDescription; string data = tender.ToString(); data += "\n\nTo see more details wisit our site.\n#Medbay-Tech Hospital#\n"; TextSyndicationContent textContent = new TextSyndicationContent(data); return(new SyndicationItem(title, textContent, new Uri(GetPharmacyDomain() + "/dean/activeTender"), id, tender.EndDate)); }