/// <summary> /// List the test users /// </summary> /// <param name="returnUrl">The return url to redirect user after login</param> /// <returns>The view presenting a list of test users</returns> public IActionResult Users(string returnUrl) { List <Testdata> testdata = _testdata.GetTestUsers(); ViewBag.ReturnUrl = returnUrl; return(View(testdata)); }
/// <summary> /// List the test users /// </summary> /// <param name="org">Unique identifier of the organisation responsible for the app.</param> /// <param name="app">Application identifier which is unique within an organisation.</param> /// <returns>The view presenting a list of test users</returns> public IActionResult Users(string org, string app) { List <Testdata> testdata = _testdata.GetTestUsers(); ViewBag.Org = org; ViewBag.Service = app; return(View(testdata)); }