コード例 #1
0
        public ActionResult GetGenealiasbyGeneId(PersonalizedMedicine_User gene)
        {
            var pmmodel = new PersonalizedMedicine_User(); var pmusermodel = new List <PersonalizedMedicine_User>();
            // List<SelectListItem> genealis = PersonalizedMedicine.GeneGenesalias(gene.GeneId);
            List <SelectListItem> genetests = PersonalizedMedicine.GetTestsforGenebygeneid(gene.GeneId);

            pmusermodel = PersonalizedMedicine.GetaliasesforGene(gene.GeneId);

            pmmodel.GetGenealiases = PersonalizedMedicine.GetGenealiases(gene.GeneId);
            pmmodel.GeneTestlist   = PersonalizedMedicine.GetTestNames(gene.TestId);
            return(Json(new { pmusermodel, genetests, pmmodel.GetGenealiases, pmmodel.GeneTestlist }, JsonRequestBehavior.AllowGet));
        }