public string GetSectionType(int journalMasterID) { String sectionTypeList = String.Empty; if (journalMasterID > 0) { List <TransferDesk.Contracts.Manuscript.Entities.Section> sectionTypeMaster = _manuscriptDBRepositoryReadSide.GetSectionMasterList(journalMasterID); foreach (var sectionType in sectionTypeMaster) { sectionTypeList += Convert.ToString(sectionType.ID) + "---" + Convert.ToString(sectionType.SectionName) + "~"; } } return(sectionTypeList); }