public async Task <Vehicle> GetByRegNo(string regNo) { using (IDbConnection connection = _vehiclesRepository.Connection) { return(await _vehiclesRepository.GetByRegNo(regNo)); } }
public async Task <Vehicle> GetByRegNo(string regNo) { using (IDbConnection connection = _vehiclesRepository.Connection) { return(await _vehiclesRepository.GetByRegNo(regNo)); } }