Пример #1
0
 public CaseController(judgement_dbContext context)
 {
     _context = context;
     if (_context.cases.Count() == 0)
     {
         _context.cases.Add(new Cases {
             CourtType = "new_type"
         }); _context.SaveChanges();
     }
 }
 public PlaintiffController(judgement_dbContext context)
 {
     _context = context;
 }
 public DefendantController(judgement_dbContext context)
 {
     _context = context;
 }