public ActionResult PostReload() { _cmdManagementSvc.LoadCommandTemplates(); if (!_cmdManagementSvc.CommandTemplatesParsed) { return(this.BadRequest()); } else { return(Ok()); } }
public Task ExecuteAsync(CancellationToken cancellationToken = default) { _cmdManagementSvc.LoadCommandTemplates(); return(Task.CompletedTask); }