public IActionResult GetData() { try { var m = _formsService.ReadModules().ToList(); return(Ok(m)); } catch (Exception e) { Log.Debug($"{e}"); return(StatusCode(500, "Error loading forms")); } }