query parameter c# controller

52

query parameter c# controller -

//ASP.NET Core will automatically bind form values, route values and query strings by name. 
//This means you can simply do this:
[HttpGet()]
public IActionResult Get(int page)
{ ... }

Comments

Submit
0 Comments