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