public void Configure(IServerRoutingTable serverRoutingTable)
 {
     using (var context = new SulsAppDbContext())
     {
         //comntext.Database.EnsureDeleted();
         context.Database.EnsureCreated();
     }
 }
 public ProblemService(SulsAppDbContext db)
 {
     this.db = db;
 }
 public UserService(SulsAppDbContext db)
 {
     this.db = db;
 }
Example #4
0
 public SubmissionService(SulsAppDbContext context, IProblemService problemService)
 {
     this.context        = context;
     this.problemService = problemService;
 }
 public ProblemService(SulsAppDbContext context)
 {
     this.context = context;
 }
 public UserService(SulsAppDbContext context)
 {
     this.context = context;
 }