Exemple #1
0
 public NidDocRepository(MoisContext dbContext) : base(dbContext)
 {
 }
 public BaseRepository(MoisContext dbContext) => _dbContext = dbContext;
Exemple #3
0
 public RequestRepositoryTests()
 {
     _moisContext       = new MoisContext(CreateNewContextOptions());
     _requestRepository = new RequestRepository(_moisContext);
 }
 public MarriageDocRepositoryTests()
 {
     _moisContext           = new MoisContext(CreateNewContextOptions());
     _marriageDocRepository = new MarriageDocRepository(_moisContext);
 }
Exemple #5
0
 public MarriageDocRepository(MoisContext dbContext) : base(dbContext)
 {
 }
Exemple #6
0
 public CsrRepository(MoisContext dbContext) : base(dbContext)
 {
 }
Exemple #7
0
 public DeathDocRepositoryTests()
 {
     _moisContext        = new MoisContext(CreateNewContextOptions());
     _deathDocRepository = new DeathDocRepository(_moisContext);
 }
Exemple #8
0
 public DeathDocRepository(MoisContext dbContext) : base(dbContext)
 {
 }
 public UserRepository(MoisContext dbContext) => _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
Exemple #10
0
 public BirthDocRepositoryTests()
 {
     _moisContext        = new MoisContext(CreateNewContextOptions());
     _birthDocRepository = new BirthDocRepository(_moisContext);
 }
Exemple #11
0
 public LookupsServiceTests()
 {
     _moisContext    = new MoisContext(CreateNewContextOptions());
     _lookupsService = new LookupsService(_moisContext);
     PrepareData();
 }
Exemple #12
0
 //The constructor is called with every test method
 public UserRepositoryTests()
 {
     _moisContext    = new MoisContext(CreateNewContextOptions());
     _userRepository = new UserRepository(_moisContext);
     PrepareData();
 }
 public NidDocRepositoryTests()
 {
     _moisContext      = new MoisContext(CreateNewContextOptions());
     _nidDocRepository = new NidDocRepository(_moisContext);
 }
 public RequestRepository(MoisContext dbContext) : base(dbContext)
 {
 }
Exemple #15
0
 public DivorceDocRepository(MoisContext dbContext) : base(dbContext)
 {
 }