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/List")] [HttpPost] public IEnumerable Lsit() { var dal = new NX.ERP.U8.Store.MaterialAppVoucher(); return dal.GetList(); } } }