Пример #1
0
        /// <summary>
        /// To Update Record in Billing table
        /// </summary>
        /// <param name="objBillingPeriod"></param>
        /// <returns>Int</returns>
        /// <createdBy></createdBy>
        /// <createdOn>Jul-22,2016</createdOn>
        public bool UpdateBillingTab(BillingListProp objBillingProp)
        {
            BillingDAL objBillingDAL = new BillingDAL();

            try
            {
                CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
                return(objBillingDAL.UpdateBillingTab(objBillingProp));
            }

            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));
            }
        }