Exemple #1
0
 /// <summary>
 /// Supprime un role.
 /// </summary>
 /// <param name="roleId"></param>
 public void Delete(int roleId)
 {
     try
     {
         using (CarRentalEntities context = new CarRentalEntities())
         {
             context.usp_Role_Delete(roleId);
         }
     }
     catch (Exception)
     {
         throw;
     }
 }