Answers for "Specify a different action name"

C#
0

Specify a different action name

public class StudentController : Controller
{
    public StudentController()
    {
    }
       
    [ActionName("Find")]
    public ActionResult GetById(int id)
    {
        // get student from the database 
        return View();
    }
}
Posted by: Guest on August-29-2021

Code answers related to "Specify a different action name"

C# Answers by Framework

Browse Popular Code Answers by Language