示例#1
0
 /// <summary>
 ///  This Method is for checking duplicate VIN number
 /// </summary>
 /// <param name="VIN"></param>
 /// <returns></returns>
 public bool CheckMultipleVIN(string vIN)
 {
     try
     {
         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));
         return(objVehicleDAL.CheckMultipleVIN(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));
     }
 }