Beispiel #1
0
 public BreezeController(IAmoCrmImportManager importManager, IAttendanceDbContextFactory attendanceDbContextFactory)
 {
     _importManager   = importManager;
     _contextProvider = new CustomEFContextProvider <AttendanceDbContext>(attendanceDbContextFactory);
 }
 public AttendanceUow(IRepositoryProvider repositoryProvider, IAttendanceDbContextFactory dbContextFactory)
 {
     _repositoryProvider           = repositoryProvider;
     _context                      = dbContextFactory.GetContext();
     _repositoryProvider.DbContext = _context;
 }