public ItemService( ISecondhandContext secondhandContext, IItemRepository itemRepository, IUserRepository userRepository) { _secondhandContext = secondhandContext; _itemRepository = itemRepository; _userRepository = userRepository; }
public UserRepository(ISecondhandContext secondhandContext) { _secondhandContext = secondhandContext; }
public ItemRepository(ISecondhandContext secondhandContext) { _secondhandContext = secondhandContext; }