Пример #1
0
 public UnitOfWorkTests()
 {
     dbContext = UniversityContextMock.SetupMock();
 }
Пример #2
0
 public void Initialize()
 {
     dbContext = UniversityContextMock.SetupMock();
     gRep      = new GenericRepository <Student>(dbContext.Object);
 }
Пример #3
0
 public void Initialize()
 {
     dbContext = UniversityContextMock.SetupMock();
     sRep      = new StudentRepository(dbContext.Object);
 }
Пример #4
0
 public void Initialize()
 {
     dbContext = UniversityContextMock.SetupMock();
 }