摘要:
//获取父子资源关系实例 要在路由上表示出来父子关系 [ApiController] [Route("api/companies/{companyId}/employees")] public class EmployeesController : ControllerBase { private 阅读全文
摘要:
1. nueget 引用 AutoMapper.Extensions.Microsoft.DependencyInjection 注册 AutoMapper services.AddAutoMapper(typeof(ServiceProfile)); 建 ServiceProfile 类 继承Pr 阅读全文