Beispiel #1
0
        /// <summary>
        /// Supprime une fiche
        /// </summary>
        /// <param name="type"></param>
        /// <param name="id"></param>
        internal void Delete(int type, int id)
        {
            switch (type)
            {
            case 0:
                sql.deleteDAUVP(sql.getDAUVP(id)[0]);
                break;

            case 1:
                sql.deleteAvecFrais(sql.GetAF(id));
                break;

            case 2:
                sql.deleteSansFrais(sql.GetSF(id));
                break;

            default:
                break;
            }
        }