1
This commit is contained in:
33
NX.ERP.WebAPi/Controllers/Pmc/PmcController.cs
Normal file
33
NX.ERP.WebAPi/Controllers/Pmc/PmcController.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using NX.ERP.U8.Purchase;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class PmcController : ApiController
|
||||
{
|
||||
[HttpPost]
|
||||
[Route("api/Pmc/Inventoryall")]
|
||||
public IEnumerable<NX.ERP.Model.PmcInventoryallRes> Post1(NX.ERP.Model.Request.Inventoryall info)
|
||||
{
|
||||
var PmcQuery = new NX.ERP.U8.Pmc.PmcQuery();
|
||||
return PmcQuery.Post1(info);
|
||||
}
|
||||
|
||||
|
||||
[HttpPost]
|
||||
[Route("api/Pmc/Inventorymom")]
|
||||
public IEnumerable<object> Post2([FromBody] List<string> info1)
|
||||
{
|
||||
var PmcQuery = new NX.ERP.U8.Pmc.PmcQuery();
|
||||
return PmcQuery.Post2(info1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user