13 lines
266 B
C#
13 lines
266 B
C#
using FluentValidation;
|
|
|
|
namespace ExpenseTracker.Application.Accounts.Queries.Get;
|
|
|
|
public class GetAccountQueryValidator : AbstractValidator<GetAccountQuery>
|
|
{
|
|
public GetAccountQueryValidator()
|
|
{
|
|
RuleFor(e => e.Id)
|
|
.NotEmpty();
|
|
}
|
|
}
|