/// <inheritdoc/> public void Validate(string errorLocaction, string propertyPath = "") { FulcrumValidate.IsNotNullOrWhiteSpace(Id, nameof(Id), errorLocaction); FulcrumValidate.IsNotNullOrWhiteSpace(Name, nameof(Name), errorLocaction); FulcrumValidate.MatchesRegExp("^[a-zA-Z]+$", Name, nameof(Name), errorLocaction); FulcrumValidate.IsNotNullOrWhiteSpace(Category, nameof(Category), errorLocaction); FulcrumValidate.MatchesRegExp("^[a-zA-Z]+$", Category, nameof(Category), errorLocaction); FulcrumValidate.IsGreaterThanOrEqualTo(0.0, Price, nameof(Price), errorLocaction); FulcrumValidate.IsNotDefaultValue(DateAdded, nameof(DateAdded), errorLocaction); FulcrumValidate.IsLessThanOrEqualTo(DateTimeOffset.Now, DateAdded, nameof(DateAdded), errorLocaction); }