示例#1
0
 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;
 }