Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Mvc;
- namespace StudentRecord.Controllers
- {
- [Route("mystudent")]
- public class studentController : Controller
- {
- [Route("studentName")]
- public string Name()
- {
- return "M Ali";
- }
- public IActionResult Index()
- {
- return View();
- }
- }
- }
Add Comment
Please, Sign In to add comment