Пример #1
0
 public UnitOfWork(ITopicRepository topicRepository, TopicContext _context)
 {
     TopicRepository = topicRepository;
     context         = _context;
 }
Пример #2
0
 public TopicRepository(TopicContext context)
 {
     _context = context;
 }