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);
}

}
}

猜你喜欢

转载自www.cnblogs.com/PingShengI/p/10151288.html