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