コード例 #1
0
ファイル: ProductRepository.cs プロジェクト: polkrt/kmg
 public ProductRepository(DataContext context, IMapper mapper, IFieldValueRepository valueRepository)
 {
     this.valueRepository = valueRepository;
     this.mapper          = mapper;
     this.context         = context;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FieldValueService"/> class.
 /// </summary>
 /// <param name="fieldValueRepository">The field value repository.</param>
 public FieldValueService(IFieldValueRepository fieldValueRepository)
 {
     this.fieldValueRepository = fieldValueRepository;
 }
コード例 #3
0
 public FieldValuesController(IFieldValueRepository repository)
 {
     _repository = repository;
 }