private async Task <Lifecycle> ReadLifecycle(LifecycleResource resource) { _logger.LogInformation($"Downloading {nameof(LifecycleResource)}: {resource.Name}"); return(await resource.ToModel(_repository)); }
private Lifecycle ReadLifecycle(LifecycleResource resource) { Logger.Info($"Downloading {nameof(LifecycleResource)}: {resource.Name}"); return(resource.ToModel(_repository)); }
public Lifecycle DownloadLifecycle(LifecycleResource resource) { Logger.Trace($"Downloading {nameof(LifecycleResource)}: {resource.Name}"); return(resource.ToModel(_repository)); }