/// <summary> /// To add the portstoragerate list for a perticular customer. /// </summary> /// <param name="customerID"></param> /// <param name="startDate"></param> /// <param name="endDate"></param> /// <returns></returns> public bool AddPortStorageRate(PortStorageRateList portStorageRateProp) { 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.AddPortStorageRate(portStorageRateProp)); } 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)); } }