public ProductRepository(DataContext context, IMapper mapper, IFieldValueRepository valueRepository) { this.valueRepository = valueRepository; this.mapper = mapper; this.context = context; }
/// <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; }
public FieldValuesController(IFieldValueRepository repository) { _repository = repository; }