public ActionResult Index()
        {
            var service = new DiagnosticCodeService();
            var model   = service.GetDiagnosticCodes();

            return(View(model));
        }
        public ActionResult Index1(string search)
        {
            var service = new DiagnosticCodeService();
            var model   = service.GetDiagnosticCodes();

            if (!String.IsNullOrEmpty(search))
            {
                model = model.Where(s => s.ICD10Code.Contains(search));
            }
            return(View(model));
        }