using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace NX.ERP.WebAPi.Controllers.MOM { public class BomController : ApiController { [Route("api/Bom/List")] [HttpGet] public IEnumerable GetList() { return new NX.ERP.U8.Mom.BomDAL().GetList(); } } }