public CarColorsQueryController(ICarsContextQuery carsContextQuery) { _carsContextQuery = carsContextQuery; }
public CarBrandsQueryController(ICarsContextQuery carsContextQuery) { _carsContextQuery = carsContextQuery; }
public CarModelsQueryController(ICarsContextQuery carsContextQuery) { _carsContextQuery = carsContextQuery; }
public static IEnumerable <CarColor> FindColors(this ICarsContextQuery query) { IEnumerable <CarColor> colors = query.CarColors.AsNoTracking(); return(colors); }