public async Task <HostModel> Read(Guid id) { var entity = _repository.Read(id); var model = entity.ToModel(); model.Status = _cacheService.Get(model.IpAddress); return(await Task.FromResult(model).ConfigureAwait(false)); }