Пример #1
0
        public int DeleteRegis(Reloj device)
        {
            int cant = 0;

            try
            {
                cant = device.BorrarRegistros();
            }
            catch (AppException appex)
            {
                throw appex;
            }
            catch (Exception ex)
            {
                throw new AppException("Error no controlado al intentar eliminar los registros del dispositivo.", "Fatal", ex);
            }
            return(cant);
        }