Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Smallest Controller Saple
using Microsoft.AspNetCore.Mvc;
namespace WebApplication1.Controllers
public class PersonController : ControllerBase
public string Get(string firstName, string lastName) => $"{firstName} {lastName}";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment