Example #1
0
 private async Task <Team> ReadTeam(TeamResource resource)
 {
     _logger.LogInformation($"Downloading {nameof(TeamResource)}: {resource.Name}");
     return(await resource.ToModel(_repository));
 }
 private Team ReadTeam(TeamResource resource)
 {
     Logger.Info($"Downloading {nameof(TeamResource)}: {resource.Name}");
     return(resource.ToModel(_repository));
 }
Example #3
0
 internal Team DownloadTeam(TeamResource resource)
 {
     Logger.Trace($"Downloading {nameof(TeamResource)}: {resource.Name}");
     return(resource.ToModel(_repository));
 }