Пример #1
0
 /// <summary>
 /// Met a jour le libelle d'un role selon son id.
 /// </summary>
 /// <param name="id"></param>
 /// <param name="libelle"></param>
 public void update(int id, string libelle)
 {
     try
     {
         using (CarRentalEntities context = new CarRentalEntities())
         {
             context.usp_Role_Update(id, libelle);
         }
     }
     catch (Exception)
     {
         throw;
     }
 }