コード例 #1
0
ファイル: TodoService.cs プロジェクト: Muhendiz/Bedrock
 public TodoService(IMapper mapper,
                    IUnitOfWork unitOfWork,
                    ITodoRepository repository,
                    IBedrockCache cache,
                    CachingOptions cachingOptions,
                    ILogger <TodoService> logger)
     : base(mapper, unitOfWork, cache)
 {
     this._logger         = logger;
     this._cachingOptions = cachingOptions;
     this._repository     = repository;
 }
コード例 #2
0
ファイル: DataServiceBase.cs プロジェクト: Muhendiz/Bedrock
 public DataServiceBase(IMapper mapper, IUnitOfWork unitOfWork, IBedrockCache cache) : base()
 {
     this.Mapper     = mapper;
     this.UnitOfWork = unitOfWork;
     this.Cache      = cache;
 }