public IActionResult Test() { try { return(Ok(_trainer.TestModel())); } catch (Exception e) { _logger.LogError(e, e.Message); return(StatusCode(500, e.Message)); } }