public ProductController(IProductService productService, IMeasurementUnitService measurementUnitService, IProductTypeService productTypeService, IProviderService providerService, IOptions <RestaurantDatabaseSettings> databaseContext) { this.productService = productService; this.measurementUnitService = measurementUnitService; this.productTypeService = productTypeService; this.providerService = providerService; this.dbSettings = databaseContext.Value; }
public MeasurementUnitController(ILoggerFactory loggerFactory, IMeasurementUnitService measurementUnitService) { _measurementUnitService = measurementUnitService; _logger = loggerFactory.CreateLogger(typeof(MeasurementUnitController)); }
public MeasurementUnitController(IMeasurementUnitService measurementUnitService, IOptions <RestaurantDatabaseSettings> databaseContext) { this.measurementUnitService = measurementUnitService; this.dbSettings = databaseContext.Value; }
public MeasurementUnitsController(IMeasurementUnitService measurementUnitService) { _measurementUnitService = measurementUnitService; }