Beispiel #1
0
 public LocationRepository(DefaultDataContext dataContext)
 {
     _dataContext = dataContext;
 }
Beispiel #2
0
 public UnitOfWork(DefaultDataContext context)
 {
     _context = context;
     Location = new LocationRepository(_context);
 }
 public UnitOfWork(DefaultDataContext context, IMapper mapper)
 {
     _context = context;
     Location = new LocationRepository(_context);
     User     = new UserRepository(_context, mapper);
 }
 public UserRepository(DefaultDataContext dataContext, IMapper mapper)
 {
     _dataContext = dataContext;
     _mapper      = mapper;
 }
Beispiel #5
0
 public AuthRepository(UserManager <User> userManager, SignInManager <User> signInManager, DefaultDataContext dataContext)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _dataContext   = dataContext;
 }