Exemple #1
0
        public static bool Delete(int iResponsible_id)
        {
            ValidationException x = new ValidationException();
            if (iResponsible_id <= 0)
                x.AgregarError("Ingrese el código de la persona");

            if (x.Cantidad > 0)
                throw x;

            DAOResponsible daoProxy = new DAOResponsible();
            return daoProxy.Delete(iResponsible_id);
        }