public async Task <ActionResult <WebServiceMetricsResponse> > Post([FromBody] WebServiceMetricsRequest request) { try { var metricsManager = new MetricsManager(); return(Content(JsonConvert.SerializeObject(await metricsManager.RunMetrics(request)), "application/json")); } catch (Exception ex) { return(this.BadRequest(ex.Message)); } }