Exemple #1
0
 /// <summary>
 /// Add Revenue Class
 /// </summary>
 /// <param name="oRevenueClass"></param>
 /// <returns></returns>
 public int AddRevenueClass(Dinerware.RevenueClass oRevenueClass)
 {
     try
     {
         return(virtualDinerwareClient.AddRevenueClass(oRevenueClass));
     }
     catch (Exception ex)
     {
         logger.WriteLogError("**** Dinerware VirtualClient FAILURE: AddRevenueClass Exception Error= " + ex.Message);
         if (ex.InnerException != null)
         {
             logger.WriteLogError("**** InnerException  = " + ex.InnerException.Message);
         }
         throw ex;
     }
 }