聚合入库接口
This commit is contained in:
29
NX.ERP.WebAPi/Controllers/Store/StoreController.cs
Normal file
29
NX.ERP.WebAPi/Controllers/Store/StoreController.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using NX.ERP.BLL.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers.Store
|
||||
{
|
||||
public class StoreController : ApiController
|
||||
{
|
||||
[Route("api/Store/StoreIn")]
|
||||
[HttpPost]
|
||||
public StoreResult StoreIn(NX.ERP.BLL.Model.Inbound Params)
|
||||
{
|
||||
var bll = new NX.ERP.BLL.Store.SotreIn();
|
||||
return bll.AddVoucher(Params);
|
||||
}
|
||||
|
||||
|
||||
[Route("api/Store/StoreOut")]
|
||||
[HttpPost]
|
||||
public StoreResult StoreOut(NX.ERP.BLL.Model.OutBound Params)
|
||||
{
|
||||
var bll = new NX.ERP.BLL.Store.SotreOut();
|
||||
return bll.AddVoucher(Params);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user