public NidDocRepository(MoisContext dbContext) : base(dbContext) { }
public BaseRepository(MoisContext dbContext) => _dbContext = dbContext;
public RequestRepositoryTests() { _moisContext = new MoisContext(CreateNewContextOptions()); _requestRepository = new RequestRepository(_moisContext); }
public MarriageDocRepositoryTests() { _moisContext = new MoisContext(CreateNewContextOptions()); _marriageDocRepository = new MarriageDocRepository(_moisContext); }
public MarriageDocRepository(MoisContext dbContext) : base(dbContext) { }
public CsrRepository(MoisContext dbContext) : base(dbContext) { }
public DeathDocRepositoryTests() { _moisContext = new MoisContext(CreateNewContextOptions()); _deathDocRepository = new DeathDocRepository(_moisContext); }
public DeathDocRepository(MoisContext dbContext) : base(dbContext) { }
public UserRepository(MoisContext dbContext) => _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
public BirthDocRepositoryTests() { _moisContext = new MoisContext(CreateNewContextOptions()); _birthDocRepository = new BirthDocRepository(_moisContext); }
public LookupsServiceTests() { _moisContext = new MoisContext(CreateNewContextOptions()); _lookupsService = new LookupsService(_moisContext); PrepareData(); }
//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) { }
public DivorceDocRepository(MoisContext dbContext) : base(dbContext) { }