コード例 #1
0
        internal IList getListaFotografieDelFotografo(string id, DateTime giornataFiltro, string strFaseDelGiorno, int skip, int _PAGE_SIZE)
        {
            IList result = new ArrayList();

            Open();

            RicercaFotoParam param = new RicercaFotoParam {
                fotografoId   = id,
                faseDelGiorno = strFaseDelGiorno,
                giorno        = giornataFiltro,
                skip          = skip,
                take          = _PAGE_SIZE
            };

            try
            {
                result = ssClient.getListaFotografieDelFotografo(param);
            }
            catch (Exception)
            {
                connectionRestart();
                if (isConnectionOK)
                {
                    return(ssClient.getListaFotografieDelFotografo(param));
                }
            }
            return(result);
        }
コード例 #2
0
        internal FotografiaDto[] getListaFotografieDelFotografo(RicercaFotoParam param)
        {
            {
                FotografiaDto[] result = new FotografiaDto[0];
                Open();

                try {
                    result = ssClient.getListaFotografieDelFotografo(param);
                } catch (Exception) {
                    connectionRestart();
                    if (isConnectionOK)
                    {
                        return(ssClient.getListaFotografieDelFotografo(param));
                    }
                }
                return(result);
            }
        }