private async Task <UserRole> ReadUserRole(UserRoleResource resource) { _logger.LogInformation($"Downloading {nameof(UserRoleResource)}: {resource.Name}"); return(await Task.FromResult(resource.ToModel())); }
private static UserRole ReadUserRole(UserRoleResource resource) { Logger.Info($"Downloading {nameof(UserRoleResource)}: {resource.Name}"); return(resource.ToModel()); }
internal static UserRole DownloadUserRole(UserRoleResource resource) { Logger.Trace($"Downloading {nameof(UserRoleResource)}: {resource.Name}"); return(resource.ToModel()); }