Commit d013ca9a authored by hasan khaddour's avatar hasan khaddour

final update

parent d57cc8df
......@@ -54,7 +54,7 @@ namespace WebPresentation.Controllers
var n= ((IMedicalStateService)_service)
.AddToPateint(patientId, _mapper.Map<MedicalStateDTO>(medicalState));
return Json(new { success = true, redirectUrl = Url.Action("Details", new { id = medicalState.Id }) });
return Json(new { success = true, redirectUrl = Url.Action("Details", new { id = n.Id }) });
}
return PartialView(medicalState);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment