/// <summary> /// 测试初始化 /// </summary> public WHLogsServiceTest() { _scope = Ioc.BeginScope(); _wHLogsRepository = _scope.Create <IWHLogsRepository>(); _wHLogsService = _scope.Create <IWHLogsService>(); _wHLogsDto = WHLogsDtoTest.Create(); }
/// <summary> /// 初始化网络勾子推送内容日志服务 /// </summary> /// <param name="unitOfWork">工作单元</param> /// <param name="wHLogsRepository">网络勾子推送内容日志仓储</param> public WHLogsService(IGitDCUnitOfWork unitOfWork, IWHLogsRepository wHLogsRepository) : base(unitOfWork, wHLogsRepository) { WHLogsRepository = wHLogsRepository; }