Files
U8-Import/NX.ERP.WebAPi/Controllers/Store/OtherStoreInController.cs

31 lines
776 B
C#
Raw Normal View History

2021-01-13 13:08:17 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
2021-03-15 11:24:16 +08:00
public class OtherStoreInController : ApiController
2021-01-13 13:08:17 +08:00
{
2021-01-21 16:00:58 +08:00
[Obsolete]
2021-01-15 10:22:35 +08:00
[Route("api/OtherIn/Add")]
2021-01-13 13:08:17 +08:00
[HttpPost]
2021-01-15 10:22:35 +08:00
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
2021-01-13 13:08:17 +08:00
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.AddVocher(storeIn);
}
2021-03-15 11:24:16 +08:00
[Route("api/OtherIn/Update")]
[HttpPost]
public bool UpdteVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.UpdateVocher(storeIn);
}
2021-01-13 13:08:17 +08:00
}
}