14 lines
		
	
	
		
			413 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			413 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Lib.Architecture.BuildingBlocks;
 | |
| 
 | |
| namespace Core.Blueprint.Application.UsesCases.KeyVault.Input
 | |
| {
 | |
|     public class UpdateSecretRequest : Notificator, ICommand
 | |
|     {
 | |
|         public string Name { get; set; } = null!;
 | |
|         public string Value { get; set; } = null!;
 | |
|         public bool Validate()
 | |
|         {
 | |
|             return !string.IsNullOrEmpty(Name) && !string.IsNullOrEmpty(Value);
 | |
|         }
 | |
|     }
 | |
| } | 
