示例#1
0
 /// <summary>
 /// This method is used to get batch id
 /// </summary>
 /// <returns></returns>
 public int GetBillingExportBatchId()
 {
     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.GetBillingExportBatchId());
     }
     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));
     }
 }