Cootz_PasswordManager/PasswordManager/Validation/Rules/IsNotNullOrEmptyRule.cs
namespace PasswordManager.Validation.Rules;

public class IsNotNullOrEmptyRule : IValidationRule<string>
{
    public string ValidationMessage { get; set; }

    public bool Check(string value) => !string.IsNullOrEmpty(value);
}