public string SanitiseBannedWords(string content, IList <string> words) { if (words != null && words.Any()) { var censor = new CensorUtils(words); return(censor.CensorText(content)); } return(content); }
public string SanitiseBannedWords(string content, IList<string> words) { if (words != null && words.Any()) { var censor = new CensorUtils(words); return censor.CensorText(content); } return content; }