public async Task <LogInResponse> AuthenticateUserAsync(LogInRequest request)
        {
            var logInContext = new LogInContext(request, this.tokenService, this.userManager, this.signInManager);
            var result       = await logInContext.ProcessAsync();

            return(result);
        }
 public LogInController(LogInContext context)
 {
     _context = context;
 }