In this article, you will learn how to create Request.querystring in .net core
You can try
@inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor;
string email= HttpContext.Request.Query["email"].ToString();
Request.querystring in .net core, querystring in .net core c#
minify code