Esempio n. 1
0
 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));
 }
Esempio n. 3
0
 public Project DownloadProject(ProjectResource resource)
 {
     Logger.Trace($"Downloading {nameof(ProjectResource)}: {resource.Name}");
     return(resource.ToModel(_repository));
 }