public WeatherForecastController(ILogger <WeatherForecastController> logger, AutoPartsContext db) { _logger = logger; this.db = db; }
public CategoriesService(AutoPartsContext db) { this.db = db; }