예제 #1
0
 public UserRepository(IUnitOfWork unitOfWork)
 {
     _unitOfWork = (TestTaskUnitOfWork)unitOfWork;
     _dalUser    = _unitOfWork.Context.Users;
 }
예제 #2
0
 public UserQueries(IUnitOfWork unitOfWork)
 {
     _unitOfWork = (TestTaskUnitOfWork)unitOfWork;
     _dalUser    = _unitOfWork.Context.Users;
 }