using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace NX.ERP.WebAPi.Controllers.Store { public class OtherStoreInController : ApiController { [Obsolete] [Route("api/OtherIn/Add")] [HttpPost] public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn) { var dal = new NX.ERP.U8.Store.OtherStoreInDAL(); return dal.AddVocher(storeIn); } [Obsolete] [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); } } }