Files
U8-Import/NX.ERP.WebAPi/Controllers/Store/OtherStoreOutController.cs
2021-04-26 09:16:40 +08:00

30 lines
786 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class OtherStoreOutController : ApiController
{
[Obsolete]
[Route("api/OtherOut/Add")]
[HttpPost]
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreOutDAL();
return dal.AddVocher(storeIn);
}
[Route("api/OtherOut/Update")]
[HttpPost]
public bool UpdateVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreOutDAL();
return dal.UpdateVocher(storeIn);
}
}
}