Пример #1
0
 public UnitOfWork(TaskDbContext context)
 {
     _context = context;
     Tasks    = new TaskRepository(_context);
 }
Пример #2
0
 public TaskRepository(TaskDbContext context) : base(context)
 {
 }