// To Get Editors Choice Citations public static List <CitationsModel> GetEditorsChoiceCitations(int SubTopicId, int UserId) { using (EditorsEntities entity = new EditorsEntities()) { var Result = entity.lib_GetEditorsChoiceExtraInfo(UserId, SubTopicId); List <CitationsModel> AllCitations = new List <CitationsModel>(); foreach (var item in Result) { CitationsModel Citation = new CitationsModel(); Citation.pmid = item.pmid; Citation.status = false; Citation.nickname = item.nickname; Citation.comment = item.comment; Citation.commentupdatedate = item.commentupdatedate; Citation.searchid = null; Citation.expiredate = null; Citation.keepdelete = false; AllCitations.Add(Citation); } return(AllCitations); } }