public ServiceBase() { //Testing var optionsBuilder = new DbContextOptionsBuilder <StvContext>(); optionsBuilder.UseSqlServer(@"Data Source=.\SQL2014;Database=stvsystemDB;Integrated Security=True;Persist Security Info=False;Pooling=False;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True", null); db = new StvContext(optionsBuilder.Options); }
public SpecializationService(StvContext db) : base(db) { }
public CourtTypeService(StvContext db) : base(db) { }
public CandidateService(StvContext db) : base(db) { }
public SettingService(StvContext db) : base(db) { }
public CredentialService(StvContext db) : base(db) { }
public GenderService(StvContext db) : base(db) { }
public ServiceBase(StvContext context) { db = context; }
public SelectionService(StvContext db) : base(db) { }
public JudgeService(StvContext db) : base(db) { }