Class SqlController
- Namespace
- Oqtane.Controllers
- Assembly
- Oqtane.Server.dll
[Route("api/[controller]")]
public class SqlController : Controller
- Inheritance
-
objectControllerBaseControllerSqlController
Constructors
SqlController(ITenantRepository, ISqlRepository, ILogManager)
public SqlController(ITenantRepository tenants, ISqlRepository sql, ILogManager logger)
Parameters
tenants
ITenantRepositorysql
ISqlRepositorylogger
ILogManager
Methods
Post(SqlQuery)
[HttpPost]
[Authorize(Roles = "Host Users")]
public SqlQuery Post(SqlQuery sqlquery)
Parameters
sqlquery
SqlQuery