public void update(TypeColis type_)
        {
            var query = bd.Typecolis.Find(type_.TypeColisid);

            if (query != null)
            {
                query.nomTypeColis = type_.nomTypeColis;
            }
            bd.SaveChanges();
        }
 public void add(TypeColis type_)
 {
     bd.Typecolis.Add(type_);
     bd.SaveChanges();
 }
 public void add(TypeColis type_)
 {
     bd.Typecolis.Add(type_);
     bd.SaveChanges();
 }
        public void update(TypeColis type_)
        {
            var query = bd.Typecolis.Find(type_.TypeColisid);

            if (query != null)
            {
                query.nomTypeColis = type_.nomTypeColis;
            }
            bd.SaveChanges();
        }