/// <summary> /// Remove specified tags from tag list. /// And if they exist in site list or actress list, remove them from the list too. /// </summary> /// <param name="tags">Tags to be removed</param> public void RemoveTags(params string[] tags) { foreach (string tagName in tags) { if (_tags.ContainsKey(tagName)) { _tags.Remove(tagName); } if (Sites.Contains(tagName)) { Sites.Remove(tagName); } if (Actresses.Contains(tagName)) { Actresses.Remove(tagName); } } }
public void Create(Actor a) { Actresses.Add(a); SaveChanges(); }
public bool AddActress(string actress) { return(Actresses.Add(actress)); }