2021-01-13 12:37:27 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NX.ERP.WebAPi.Controllers.Store
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PuStoreInController : ApiController
|
|
|
|
|
|
{
|
2021-01-15 09:26:17 +08:00
|
|
|
|
[Route("api/PuStoreIn/Add")]
|
2021-01-13 12:37:27 +08:00
|
|
|
|
[HttpPost]
|
2021-01-15 09:26:17 +08:00
|
|
|
|
public object AddVoucher([FromBody] Model.Request.PuStoreIn storeIn)
|
2021-01-13 12:37:27 +08:00
|
|
|
|
{
|
|
|
|
|
|
var dal = new NX.ERP.U8.Store.PuStoreInDAL();
|
2021-01-15 09:26:17 +08:00
|
|
|
|
return new { Id = dal.AddVocher(storeIn) };
|
2021-01-13 12:37:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|