/// <summary>
        /// function to Add the Damage Code
        /// </summary>
        /// <param name="portStorageVehiclesId"></param>
        /// <returns>Int<returns>
        /// <createdBy></createdBy>
        /// <createdOn>May-10,2016</createdOn>
        public int AddDamageCode(DamageCodeProp objDamageCodeProp)
        {
            PortStorageDamageDetailsDAL objPortStorageDamageDetailsDAL = new PortStorageDamageDetailsDAL();

            CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
            try
            {
                //add the details of damage code details.
                return(objPortStorageDamageDetailsDAL.AddDamageCode(objDamageCodeProp));
            }
            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));
            }
        }