Exemple #1
0
 public ItemService(
     ISecondhandContext secondhandContext,
     IItemRepository itemRepository,
     IUserRepository userRepository)
 {
     _secondhandContext = secondhandContext;
     _itemRepository    = itemRepository;
     _userRepository    = userRepository;
 }
Exemple #2
0
 public UserRepository(ISecondhandContext secondhandContext)
 {
     _secondhandContext = secondhandContext;
 }
Exemple #3
0
 public ItemRepository(ISecondhandContext secondhandContext)
 {
     _secondhandContext = secondhandContext;
 }