コード例 #1
0
 public UnitOfWork(DbContext context, IRoleRepository roleRepository,
     IUserRepository userRepository, IQuizRepository testRepository, IQuizStatisticRepository statisticRepository)
 {
     this.context = context;
     this.userRepository = userRepository;
     this.roleRepository = roleRepository;
     this.testRepository = testRepository;
     this.statisticRepository = statisticRepository;
 }
コード例 #2
0
 public UnitOfWork(DbContext context, IRoleRepository roleRepository,
                   IUserRepository userRepository, IQuizRepository testRepository, IQuizStatisticRepository statisticRepository)
 {
     this.context             = context;
     this.userRepository      = userRepository;
     this.roleRepository      = roleRepository;
     this.testRepository      = testRepository;
     this.statisticRepository = statisticRepository;
 }