public ActionResult Create(MedicalTreatment medicalTreatment)
 {
     if (ModelState.IsValid)
     {
         var popup = new MessageInfo
         {
             State   = 1,
             Message = "Traitement bien ajouté"
         };
         if (_dairyFarmService.AddMedicalTreatment(medicalTreatment) == false)
         {
             return(RedirectToAction("Index", "MedicalTreatments", new { message = "Erreur dans l'ajout", state = 0 }));
         }
         return(RedirectToAction("Index", "MedicalTreatments", new { message = popup.Message, state = popup.State }));
     }
     return(RedirectToAction("Index", "MedicalTreatments", new { message = "Erreur dans l'ajout", state = 0 }));
 }