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