public ActionResult Delete(int id, FormCollection collection) { if (_dairyFarmService.DeleteCattle(id)) { return(RedirectToAction("Index", new { message = "Bien supprimer", state = 1 })); } else { return(RedirectToAction("Index", new { message = "Erreur dans la suppession", state = 0 })); } }