public UserController(IUserUseCases userUseCases, ISendMailUseCases sendMailUseCases, IHttpContextAccessor httpContextAccessor, IConfiguration configuration, IMapper mapper) { _userUseCases = userUseCases; _sendMailUseCases = sendMailUseCases; _httpContextAccessor = httpContextAccessor; _configuration = configuration; _mapper = mapper; }
public UserController( IUserUseCases userUseCases, SignInManager <User> signInManager, RoleManager <IdentityRole> roleManager, UserManager <User> userManager, IConfiguration configuration) { _userUseCases = userUseCases; _signInManager = signInManager; _roleManager = roleManager; _userManager = userManager; _configuration = configuration; }
public UserController(ILogger <UserController> logger, IUserUseCases userUseCases) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _userUseCases = userUseCases ?? throw new ArgumentNullException(nameof(userUseCases)); }
public LoginController(IUserUseCases userUseCases, IConfiguration configuration) { _userUseCases = userUseCases; _configuration = configuration; }