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.

16 lines
400 B

2 years ago
  1. using EasyBL.WebApi.Filters;
  2. using EasyBL.WebApi.Models;
  3. using System.Net.Http;
  4. using System.Web.Http;
  5. namespace WebApp.Controllers
  6. {
  7. public class CmdController : ApiController
  8. {
  9. [HttpPost]
  10. [ApiSecurityFilter]
  11. public HttpResponseMessage GetData([FromBody]dynamic data)
  12. {
  13. return (new CmdService()).GetData(data, true, Request);
  14. }
  15. }
  16. }