This commit is contained in:
@@ -14,7 +14,10 @@ using TechHelper.Server.Services;
|
||||
using TechHelper.Server.Repositories;
|
||||
using Microsoft.OpenApi.Models;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// TechHelper 服务器应用程序的主入口点
|
||||
/// 配置和启动 ASP.NET Core Web API 应用程序
|
||||
/// </summary>
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Services.AddControllers(); // 添加 MVC 控制器服务 (用于 API)
|
||||
|
Reference in New Issue
Block a user