public IEnumerable<SelectListItem> GetDisease() { var diseaseModel = new DiseaseMasterModel(); var disease = diseaseModel.GetDiseaseMasterAll().Select(x => new SelectListItem { Value = x.Id.ToString(), Text = x.DiseaseName }); return new SelectList(disease, "Value", "Text"); }