public async Task <IActionResult> GetComponentsForCustomer(int customerId) { var result = await _reader.GetComponentsForCustomer(customerId); if (result != null) { return(Ok(result)); } else { return(NotFound(result)); } }