private void ProcessResponse() { IActionResult result; if (response.IsValid) { response.Token = _token.Get(response.User); result = Ok(response); } }