ASP.NET Core Web API 控制器
代码using Microsoft.AspNetCore.Mvc;namespace ContosoPizza.Controllers;[ApiController][Route("[controller]")]public class WeatherForecastController : ControllerBase{ private static readonly string[] Summaries = new[] { "Freez