public AccountController(IAuthenticateService authenticateService, UserManager <ApplicationUser> userManager, IUserService applicationUserService, IGoogleAuthenticateService googleAuthenticateService, SignInManager <ApplicationUser> signInManager, ILogger <AccountController> logger, ICarDbContext carDbContext)
 {
     _authenticateService       = authenticateService;
     _userManager               = userManager;
     _applicationUserService    = applicationUserService;
     _googleAuthenticateService = googleAuthenticateService;
     _signInManager             = signInManager;
     _logger       = logger;
     _carDbContext = carDbContext;
 }
 public CreateUserCommandHandler(ICarDbContext context, IUserService userService)
 {
     _context     = context;
     _userService = userService;
 }
 public UpdateCarCommandHandler(ICarDbContext context)
 {
     _context = context;
 }
 public LoginCommandHandler(ICarDbContext context, IAuthenticateService authService)
 {
     _context     = context;
     _authService = authService;
 }
 public UpdateUserCommandHandler(ICarDbContext context, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
Example #6
0
 public DeleteCarCommandHandler(ICarDbContext context)
 {
     _context = context;
 }
 public GetColorsListQueryHandler(ICarDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public GetLocationsListQueryHandler(ICarDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public GetCarDetailQueryHandler(ICarDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public GetPersonalRentsListQueryHandler(ICarDbContext context, IMapper mapper, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     _mapper              = mapper;
     _httpContextAccessor = httpContextAccessor;
 }
Example #11
0
 public CreateRentCommandHandler(ICarDbContext context, IEmailService emailService, UserManager <ApplicationUser> userManager)
 {
     _context      = context;
     _emailService = emailService;
     _userManager  = userManager;
 }
 public ResetPasswordCommandHandler(ICarDbContext context, IUserService userService)
 {
     _context     = context;
     _userService = userService;
 }
 public GetTransmissionsListQueryHandler(ICarDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }