增加
This commit is contained in:
19
NX.ERP.WebAPi/Controllers/Store/SaleStoreOutController.cs
Normal file
19
NX.ERP.WebAPi/Controllers/Store/SaleStoreOutController.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers.Store
|
||||
{
|
||||
public class SaleStoreOutController : ApiController
|
||||
{
|
||||
[Route("api/SaleStoreOut/Add")]
|
||||
[HttpPost]
|
||||
public object AddVoucher([FromBody] Model.Request.SaleStoreOut storeIn)
|
||||
{
|
||||
var dal = new NX.ERP.U8.Store.SaleOutDAL();
|
||||
return new { Id = dal.AddVoucher(storeIn) };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user