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.
|
|
using CounsellorBL.BLStructure; using Microsoft.AspNetCore.Mvc; using OT.COM.SignalerMessage;
namespace EnterprizeV4.Controllers { [ApiController] [Route("[controller]")]
public class CmdController : ControllerBase { const string OPTIONS_RETURN = "1";
[HttpOptions] public string Options() { return OPTIONS_RETURN; }
[HttpPost] public CResponsePack GetData([FromBody]CReqestPack rq) { return (new Models.CmdService()).GetData( rq, new ControllDataPack() { ServiceProvider = HttpContext.RequestServices }); } } }
|