修正项目
This commit is contained in:
19
NX.ERP.WebAPi/Controllers/WarehouseController.cs
Normal file
19
NX.ERP.WebAPi/Controllers/WarehouseController.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user