Example #1
0
 public AccountController(IApplicationAdminDbContext context, ITokenService tokenService, IMapper mapper
                          , IMasterRepository masterRepository)
 {
     _mapper           = mapper;
     _tokenService     = tokenService;
     _context          = context;
     _masterRepository = masterRepository;
 }
Example #2
0
 public AgentsController(IUserRepository userRepository, IMapper mapper, IApplicationAdminDbContext context
                         , IAdminRepository adminRepository)
 {
     _adminRepository = adminRepository;
     _context         = context;
     _mapper          = mapper;
     _userRepository  = userRepository;
 }
Example #3
0
 public UserRepository(IApplicationAdminDbContext context)
 {
     _context = context;
 }