using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace NX.ERP.WebAPi.Controllers.Store { public class MaterialAppVoucherController: ApiController { [Route("api/MaterialAppVoucher/Add")] [HttpPost] public string Add() { var dal = new NX.ERP.U8.Store.MaterialAppVoucher(); return dal.AddVoucher(new { }); } } }