// GET DIAGNOSTIC CODE DETAILS/ID
        public ActionResult Details(int id)
        {
            DiagnosticCodeService service = new DiagnosticCodeService();
            var model = service.GetDiagnosticCodeById(id);

            return(PartialView("Details", model));
        }
        public ActionResult Delete(int id)
        {
            var service = new DiagnosticCodeService();
            var model   = service.GetDiagnosticCodeById(id);

            return(View(model));
        }
        public ActionResult Edit(int id)
        {
            var service = new DiagnosticCodeService();
            var detail  = service.GetDiagnosticCodeById(id);
            var model   = new DiagnosticCodeDetail
            {
                DiagnosticCodeId = detail.DiagnosticCodeId,
                Name             = detail.Name,
                ICD10Code        = detail.ICD10Code,
                Price            = detail.Price,
                DiagnosisId      = detail.DiagnosisId
            };

            return(View(model));
        }