public IActionResult UpdateQuery(QueryAndQueryParamsViewModel updateModel) { QueryControllerLogic qcl = new QueryControllerLogic(_queryRepository); qcl.UpdateQuery(updateModel); return(Ok()); }
public IActionResult GetQueryModelWithoutList(int queryId) { bool needSqlList = false; QueryControllerLogic qcl = new QueryControllerLogic(_queryRepository); QueryAndQueryParamsViewModel svm = qcl.GetQueryViewModel(queryId, needSqlList); return(Ok(svm)); }