修正代码
This commit is contained in:
21
NX.ERP.WebAPi/Controllers/Base/SupplierController.cs
Normal file
21
NX.ERP.WebAPi/Controllers/Base/SupplierController.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using NX.ERP.Model;
|
||||
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 SupplierController : ApiController
|
||||
{
|
||||
[HttpGet]
|
||||
public IEnumerable<Supplier> List()
|
||||
{
|
||||
var supplierDAL = new SupplierDAL();
|
||||
return supplierDAL.GetList();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user