Exemple #1
0
 public ParameterRepository(ProboCheckerDbContext context)
     : base(context)
 {
 }
 public SubmissionRepository(ProboCheckerDbContext context)
     : base(context)
 {
 }
Exemple #3
0
 public ApiKeysServiceTests()
 {
     this.context = this.DatabaseInstance;
     this.mockRandomKeyGenerator = new Mock <IRandomKeyGenerator>();
     this.service = new ApiKeysService(new Repository <ApiKey>(context), mockRandomKeyGenerator.Object);
 }
 public TestCaseRepository(ProboCheckerDbContext context)
     : base(context)
 {
 }
 public Repository(ProboCheckerDbContext context)
 {
     this.context = context;
     this.set     = this.context.Set <TEntity>();
 }