Пример #1
0
 /// <summary>
 /// Update table for next batch id
 /// </summary>
 /// <param name="BatchId"></param>
 /// <returns>bool</returns>
 public bool SetBillingExportNextBatchId(int BatchId)
 {
     try
     {
         CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
         BillingDAL objBillingDAL = new BillingDAL();  /// Creating The Object of BillingDAL
         return(objBillingDAL.SetBillingExportNextBatchId(BatchId));
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "End {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
     }
 }