Ejemplo n.º 1
0
        /// <summary>
        ///  This method is used to get vehicle detil by VIN number
        /// </summary>
        /// <param name="VIN"></param>
        /// <returns></returns>
        public List <VehicleProp> CheckMultipleVecheleDetailByVIN(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.CheckMultipleVecheleDetailByVIN(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));
            }
        }