public IHttpActionResult CustomerWidgets(int CompanyId, int CustomerId) { var result = _metricsService.GetVendorMetricsUserConfigByUserId(CompanyId, CustomerId); if (result == null) { return(NotFound()); } return(Ok(result)); }