/// <summary> /// Function To find the vehicle search details. /// </summary> /// <param name="objVehicleProp"></param> /// <returns>List</returns> /// <createdBy></createdBy> /// <createdOn>May-2,2016</createdOn> public async Task <List <VehicleProp> > GetVehicleSearchDetails(VehicleProp objVehicleProp) { 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 and binding the existing user Role. return(await objVehicleDAL.GetVehicleSearchDetails(objVehicleProp)); } 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)); } }