/// <summary> /// Removes the software from black list. /// </summary> /// <param name="BlackSoftwareName">Name of the black software.</param> /// <returns></returns> public bool RemoveSoftwareFromBlackList(string BlackSoftwareName) { mbsmd.RemoveBlackSoftwareFromDB(BlackSoftwareName); return(BlackSoftwareList.Remove(BlackSoftwareName)); }
/// <summary> /// Adds the software to black list. /// </summary> /// <param name="BlackSoftwareName">Name of the black software.</param> public void AddSoftwareToBlackList(string BlackSoftwareName) { mbsmd.AddBlackSoftwareToDB(BlackSoftwareName); BlackSoftwareList.Add(BlackSoftwareName); }