Exemplo n.º 1
0
 public ParameterRepository(ProboCheckerDbContext context)
     : base(context)
 {
 }
 public SubmissionRepository(ProboCheckerDbContext context)
     : base(context)
 {
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 5
0
 public Repository(ProboCheckerDbContext context)
 {
     this.context = context;
     this.set     = this.context.Set <TEntity>();
 }