public SalesController(IEasyCleanRepository repo, IMapper mapper, IConfiguration config) { this.repo = repo; this.mapper = mapper; this.config = config; // Inject IConfiguration from Startup.cs, so we can retrieve our particle token in method GetMachineUages() }
public TariffsController(IEasyCleanRepository repo, IMapper mapper) { this.repo = repo; this.mapper = mapper; }