1-Exam17-Default

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Exam17.BLL;
using Exam17.Model;
namespace Exam17.Controllers
{
public class DefaultController : ApiController
{

CommonBLL bll = new CommonBLL();

[HttpGet]
public ProductInfo fan(int ID)
{
return bll.fan(ID);
}
//修改I
[HttpPost]
public int xiu(ProductInfo model)
{


return bll.xiu(model);
}

}
}

posted @ 2018-12-20 18:29  平生。  阅读(91)  评论(0编辑  收藏  举报