示例#1
0
 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());
 }
示例#3
0
 internal static UserRole DownloadUserRole(UserRoleResource resource)
 {
     Logger.Trace($"Downloading {nameof(UserRoleResource)}: {resource.Name}");
     return(resource.ToModel());
 }