public ActionResult GetGeneandTestsbyaliasID(PersonalizedMedicine_User gene) { var pmusermodel = new PersonalizedMedicine_User(); List <SelectListItem> getgenesbyaliasid = PersonalizedMedicine.GetAliasNameByGeneIDAliasID(gene.GeneId, Convert.ToInt32(gene.aliasid)); List <SelectListItem> genestest = PersonalizedMedicine.GetGenesForTestByTestID(gene.GeneId); // pmusermodel.GetAttachedGenealias = PersonalizedMedicine.GetAttachedGenealiastoTest(gene.TestId); pmusermodel.Geneslist = PersonalizedMedicine.GetGeneNames(gene.GeneId); pmusermodel.GeneTestlist = PersonalizedMedicine.GetTestNames(gene.TestId); return(Json(new { getgenesbyaliasid, genestest, pmusermodel.Geneslist, pmusermodel.GeneTestlist }, JsonRequestBehavior.AllowGet)); }