修正代码

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,19 @@
using NX.ERP.U8;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers
{
public class WarehouseController:ApiController
{
[HttpGet]
public IEnumerable<Model.Warehouse> List()
{
var warehouseDAL = new WarehouseDAL();
return warehouseDAL.GetList();
}
}
}