Files
U8-Import/NX.ERP.WebAPi/Controllers/Base/WarehouseController.cs

19 lines
414 B
C#
Raw Normal View History

2021-01-05 11:11:28 +08:00
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();
}
}
}