public Task <Driver> GetStintDriverAsync(Stint stint) { return(Connection.Table <Driver>().Where(d => d.ID == stint.DriverID).FirstAsync()); }
public Task <List <Lap> > GetStintLapsAsync(Stint stint) { return(Connection.Table <Lap>().Where(l => l.StintID == stint.ID).ToListAsync()); }
public Task <Session> GetStintSessionAsync(Stint stint) { return(Connection.Table <Session>().Where(s => s.ID == stint.SessionID).FirstAsync()); }