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; }