Example #1
0
 public override int Count(string search = null, object advancedSearch = null)
 {
     try
     {
         var wcf   = new WcfService.Service();
         var count = wcf.CountPagamenti(search, advancedSearch, fornitore, fatturaAcquisto);
         return(count);
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return(0);
 }
Example #2
0
        public override int Count(string search = null, object advancedSearch = null)
        {
            try
            {
                var wcf = new WcfService.Service();
                var countFattureAcquistoScadenza = wcf.CountFattureAcquisto(search);
                var countPagamenti = wcf.CountPagamenti(search);

                var count = countFattureAcquistoScadenza + countPagamenti;
                return(count);
            }
            catch (Exception ex)
            {
                UtilityError.Write(ex);
            }
            return(0);
        }