예제 #1
0
        /// <summary>
        /// Get the search details based on PMID - RaviM
        /// </summary>
        /// <param name="PMID"></param>
        /// <returns></returns>
        public ActionResult SearchDetails(int?PMID, bool FromPMedline = false)
        {
            int ID = Convert.ToInt32(PMID);

            SearchBL.SearchForm obj = new SearchBL.SearchForm();
            obj.TopicsList             = SearchBL.GetTopicsList(CurrentUser.UserId);
            obj.AbstractCommentsECList = MyLibraryBL.GetAbstractCommentsEC(ID);
            obj.CitationDetails        = SearchBL.GetCitationabstract(CurrentUser.UserId, ID.ToString(), 2, 1);
            obj.SearchId = obj.SearchId;
            obj.PMID     = ID;
            obj.FolderID = 0;
            if (FromPMedline)
            {
                obj.FromPMedline = true;
            }

            return(View(obj));
        }