public bool writeOnServer(byte[] stream, string pathFile) { bool retval = false; try { retval = CacheFileManager.writeOnServer(stream, pathFile); } catch (Exception e) { logger.Debug("errore nel web method writeonserver errore: " + e.Message); } return(retval); }