public JsonResult GetListeCommande(string numerocomplete) { try { AccesSageDAO acces = new AccesSageDAO(); List <DetailCommande> liste = acces.GetArticlesCommandes(numerocomplete); return(Json(liste)); } catch (Exception exception) { return(Json(exception.Message)); } }