public ActionResult Edit(int id, rendezvousDELETEViewModel rdv)
        {
            try
            {
                // TODO: Add insert logic here
                HttpClient client = new HttpClient();
                rdv.identifiant    = id;
                client.BaseAddress = new Uri("http://localhost:18080");
                client.PostAsJsonAsync <rendezvousDELETEViewModel>("Epione-web/rest/rendezvous/confirmation", rdv).ContinueWith((postTask) => postTask.Result.EnsureSuccessStatusCode());

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }
        public ActionResult Delete(int id, rendezvousDELETEViewModel rdv)
        {
            try
            {
                rdv.identifiant = id;
                System.Diagnostics.Debug.WriteLine(rdv.identifiant);
                HttpClient client = new HttpClient();
                client.BaseAddress = new Uri("http://localhost:18080");
                client.PostAsJsonAsync <rendezvousDELETEViewModel>("Epione-web/rest/rendezvous/delete", rdv);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }