-
-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathIOjsData.cs
More file actions
57 lines (33 loc) · 1.48 KB
/
IOjsData.cs
File metadata and controls
57 lines (33 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
namespace OJS.Data
{
using System;
using Microsoft.AspNet.Identity.EntityFramework;
using OJS.Data.Contracts;
using OJS.Data.Models;
using OJS.Data.Repositories.Contracts;
public interface IOjsData : IDisposable
{
IContestsRepository Contests { get; }
IProblemsRepository Problems { get; }
ITestRepository Tests { get; }
IDeletableEntityRepository<News> News { get; }
IDeletableEntityRepository<Event> Events { get; }
IDeletableEntityRepository<ContestCategory> ContestCategories { get; }
IDeletableEntityRepository<ContestQuestion> ContestQuestions { get; }
IDeletableEntityRepository<ContestQuestionAnswer> ContestQuestionAnswers { get; }
ITestRunsRepository TestRuns { get; }
IDeletableEntityRepository<FeedbackReport> FeedbackReports { get; }
IDeletableEntityRepository<Checker> Checkers { get; }
IDeletableEntityRepository<ProblemResource> Resources { get; }
IUsersRepository Users { get; }
IRepository<IdentityRole> Roles { get; }
IParticipantsRepository Participants { get; }
IRepository<Setting> Settings { get; }
ISubmissionsRepository Submissions { get; }
IRepository<SubmissionType> SubmissionTypes { get; }
IDeletableEntityRepository<SourceCode> SourceCodes { get; }
IRepository<AccessLog> AccessLogs { get; }
IOjsDbContext Context { get; }
int SaveChanges();
}
}