Create an ASP.NET Core Web API CRUD Service(创建一个 ASP.NET Core Web API CRUD 服务 )
This article describes how to implement a controller in an existing ASP.NET Core Web API project.
本文介绍如何在现有ASP.NETCore Web API项目中实现控制器。
Access a UnitOfWork Object(访问UnitOfWork对象)
XPO supports ASP.NET Core Dependency Injection, that means that you can add a UnitOfWork object as a constructor argument.
XPO支持ASP.NET核心依赖注入,这意味着您可以添加一个UnitOfWork对象作为构造函数参数。
C#
using Microsoft.AspNetCore.Mvc;
using