21 lines
426 B
C#
21 lines
426 B
C#
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();
|
|
|
|
}
|
|
}
|
|
} |