Пример #1
0
 /// <summary>
 /// This method is used to update Billing Line Item
 /// </summary>
 /// <param name="BatchId"></param>
 /// <param name="BillingLineItemsID"></param>
 /// <param name="UserCode"></param>
 public void UpdateBillingLineItem(int BatchId, int BillingLineItemsID, string UserCode)
 {
     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
         objBillingDAL.UpdateBillingLineItem(BatchId, BillingLineItemsID, UserCode);
     }
     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));
     }
 }