/// <summary> /// 构造器 /// </summary> /// <param name="advertisingRepository">广告仓储接口</param> /// <param name="advertisingPositionRepository">广告位仓储接口</param> public AdvertisingService(IAdvertisingRepository advertisingRepository, IAdvertisingPositionRepository advertisingPositionRepository) { this.advertisingRepository = advertisingRepository; this.advertisingPositionRepository = advertisingPositionRepository; }
/// <summary> /// 构造器 /// </summary> /// <param name="advertisingRepository">广告仓储接口</param> /// <param name="advertisingPositionRepository">广告位仓储接口</param> public AdvertisingService(IAdvertisingRepository advertisingRepository, IAdvertisingPositionRepository advertisingPositionRepository) { this.advertisingRepository = advertisingRepository; this.advertisingPositionRepository = advertisingPositionRepository; }