using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace NX.ERP.WebAPi.Controllers.AP { public class APController : ApiController { [Route("api/ap/add")] [HttpPost] public string AddVoucher(NX.ERP.Model.Request.ApVouch ApVouch) { var dal = new NX.ERP.U8.AP.APVouch(); return dal.AddVocher(ApVouch); } } }