Dynamic user profile per tenant
This commit is contained in:
		| @ -7,7 +7,7 @@ | ||||
|         <text>...</text> | ||||
|     </Authorizing> | ||||
|     <Authorized> | ||||
|         <button type="button" class="btn btn-primary" @onclick="@RegisterUser">@context.User.Identity.Name</button> | ||||
|         <button type="button" class="btn btn-primary" @onclick="@UpdateProfile">@context.User.Identity.Name</button> | ||||
|     </Authorized> | ||||
|     <NotAuthorized> | ||||
|         <button type="button" class="btn btn-primary" @onclick="@RegisterUser">Register</button> | ||||
| @ -21,6 +21,11 @@ | ||||
|     { | ||||
|         UriHelper.NavigateTo(NavigateUrl("register")); | ||||
|     } | ||||
|  | ||||
|     private void UpdateProfile() | ||||
|     { | ||||
|         UriHelper.NavigateTo(NavigateUrl("profile")); | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker