public ActionResult enregConfirm(int id) { var stepId = enregRepository.GetEnregStepID(id, EnregTypeID); if (stepId == null) { stepId = enregRepository.AddZeroStep(id, EnregTypeID); } return(Redirect(Url.Action("enrcs", new { id = stepId, area = "code" }))); }