Beispiel #1
0
 public TestService(
     TrainingPortal.Web.Data.TestService.ITestService testRepository,
     ITestOptionService testOptionRepository
     )
 {
     _testRepository       = testRepository;
     _testOptionRepository = testOptionRepository;
 }
        public TestOptionController(ITestOptionService testOptionRepository)
        {
            if (testOptionRepository == null)
            {
                throw new ArgumentNullException("testOptionRepository");
            }

            _testOptionRepository = testOptionRepository;
        }