internal List <TextContent> GetAllByType(TextContentType type) { List <TextContent> textContentsByType = new List <TextContent>(); foreach (var textContent in GetAll()) { if (textContent.Type == type) { textContentsByType.Add(textContent); } } return(textContentsByType); }
public List <TextContent> GetAllByType(TextContentType type) { return(_textContentService.GetAllByType(type)); }
public TextContentTypeManager(TextContentType model) { this.model = model; }