You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
535 B
22 lines
535 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
using Warehouse.DAL.Config;
|
|
|
|
namespace Warehouse.WebApi.Config
|
|
{
|
|
public class ProductsController : ApiController
|
|
{
|
|
ProductsInfoDal DT = new ProductsInfoDal();
|
|
[Route("api/ProductsInfo/ProductsInfo")]
|
|
[HttpPost]
|
|
public IHttpActionResult ProductsInfo(dynamic para)
|
|
{
|
|
var res = DT.ProductsInfo();
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|