public string ValidateContentWasFound(Guid id, Content content)
 {
     return((content == null) ? ValidationErrorMessages.EntityNotFound <Content>(id) : string.Empty);
 }
Example #2
0
 public string ValidateAuthorWasFound(Guid id, Author author)
 {
     return((author == null) ? ValidationErrorMessages.EntityNotFound <Author>(id) : string.Empty);
 }