修正代码

This commit is contained in:
admin
2021-01-13 10:21:56 +08:00
parent 6001b690ed
commit be6ed7aec9
23 changed files with 214 additions and 38 deletions

View File

@@ -0,0 +1,27 @@
using NX.ERP.U8;
using NX.ERP.U8.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers
{
public class CustomerController : ApiController
{
// GET api/values
[HttpGet]
public IEnumerable<Model.Customer> List()
{
var customerDAL = new CustomerDAL();
return customerDAL.GetList();
}
// GET api/values/5
}
}