public TodoController(IOrderedRepository <TodoValue> repository, IMapper mapper) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public OrderedService(IOrderedRepository orderedRepository, IOrderedItemRepository orderedItemRepository) { this._orderedRepository = orderedRepository; this._orderedItemRepository = orderedItemRepository; }