public async Task <IActionResult> Get(int id) { var result = await _repository.GetCustomerWithReadingsAsync(id); return(Ok(result)); }