classlib/ExpenseTracker.Application/Accounts/Commands/Delete/DeleteAccountCommandValidator.cs
2024-08-07 21:12:02 +03:00

13 lines
285 B
C#

using FluentValidation;
namespace ExpenseTracker.Application.Accounts.Commands.Delete;
public class DeleteAccountCommandValidator : AbstractValidator<DeleteAccountCommand>
{
public DeleteAccountCommandValidator()
{
RuleFor(e => e.Id)
.NotEmpty();
}
}