public ExchangeController(IExchangeService exchangeService, ILogisticService logisticService, IExchangeClassService exchangeClassService, IExchangeExamineService exchangeExamineService) { this._exchangeService = exchangeService; this._logisticService = logisticService; this._exchangeClassService = exchangeClassService; this._exchangeExamineService = exchangeExamineService; }
/// <summary> /// /// </summary> /// <param name="dbContext"></param> public ExchangeClassController(CosDbContext dbContext) { _exchangeClassService = new ExchangeClassService(dbContext); }