/// </summary> /// <param></param> /// <returns>Int</returns> /// <createdBy></createdBy> /// <createdOn>May-10,2016</createdOn> public int DecodeVIN(string Vin) { VehicleDAL objVehicleDAL = new VehicleDAL(); CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name)); try { //Calling Decode VIN. return(objVehicleDAL.DecodeVIN(Vin)); } 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)); } }