/// <summary> /// Gets the stops by the given location type. /// </summary> /// <param name="locationType">The location type.</param> /// <returns>A list of stops.</returns> public Task <List <Stop> > GetStopsByLocationTypeAsync(LocationType locationType) { return(ExecuteCommand(string.Format("SELECT * FROM Stop WHERE LocationType = {0}", locationType.ToInt32()), GetStopFromDataReaderWithSpecialCasing)); }