public static void ModifyRandomMember(this ITypeTemplate template, Authentication authentication) { var member = template.RandomOrDefault(); member?.ModifyRandomValue(authentication); }
public static async Task ModifyRandomMemberAsync(this ITypeTemplate template, Authentication authentication) { var member = template.RandomOrDefault(); await member?.ModifyRandomValueAsync(authentication); }
public static void RemoveRandomMember(this ITypeTemplate template, Authentication authentication) { var member = template.RandomOrDefault(); member?.Delete(authentication); }
public static async Task RemoveRandomMemberAsync(this ITypeTemplate template, Authentication authentication) { var member = template.RandomOrDefault(); await member?.DeleteAsync(authentication); }