public JsonResult DeleteTache(int IdTache) { Ts = new TacheService(); bool result = Ts.DeleteTache(IdTache); return(Json(result, JsonRequestBehavior.AllowGet)); }