private async Task <Project> ReadProject(ProjectResource resource) { _logger.LogInformation($"Downloading {nameof(ProjectResource)}: {resource.Name}"); return(await resource.ToModel(_repository)); }
private Project ReadProject(ProjectResource resource) { Logger.Info($"Downloading {nameof(ProjectResource)}: {resource.Name}"); return(resource.ToModel(_repository)); }
public Project DownloadProject(ProjectResource resource) { Logger.Trace($"Downloading {nameof(ProjectResource)}: {resource.Name}"); return(resource.ToModel(_repository)); }