/// <summary> /// For inserting CustomerNotes in database. /// </summary> /// <param name="objLocationPerformanceStandard"></param> /// <returns></returns> public bool AddCustomerNotes(CustomerNoteList objCustomerNotes) { CustomerDAL objCustomerDAL = new CustomerDAL(); CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name)); try { return(objCustomerDAL.AddCustomerNotes(objCustomerNotes)); } 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)); } }