36 lines
840 B
C#
36 lines
840 B
C#
using NX.ERP.Model.Store;
|
|
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);
|
|
}
|
|
|
|
[Obsolete]
|
|
[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);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |