public void update(Ville type_)
        {
            var query = bd.Ville.Find(type_.Villeid);

            if (query != null)
            {
                query.NomVille = type_.NomVille;
            }

            bd.SaveChanges();
        }
 public void add(Ville type_)
 {
     bd.Ville.Add(type_);
     bd.SaveChanges();
 }