Exemple #1
0
        public IEnumerable <KeyValuePair <string, string> > GetValidationMessages(Repository.Model.Blog repositoryEntityToValidate, User usuario)
        {
            _validationMessages.Clear();

            AddValidationMessageIfInvalidMandatoryTextAndLength(nameof(repositoryEntityToValidate.Url), repositoryEntityToValidate.Url, 100, 5);

            return(_validationMessages);
        }
Exemple #2
0
        public IEnumerable <KeyValuePair <string, string> > GetLogicDeleteValidationMessages(Repository.Model.Blog report, User usuario)
        {
            _validationMessages.Clear();

            return(_validationMessages);
        }