// COLE - Color Management public List <Color> GetAllColors() { List <Color> allColors = new List <Color>(); ColorManagementServices ColorManager = new ColorManagementServices(); allColors = ColorManager.GetAllColors(); return(allColors); }
// COLE - COLOR MANAGEMENT public List <string> GetColors() { List <string> availableColors; ColorManagementServices ColorManager = new ColorManagementServices(); availableColors = ColorManager.GetAvailableColors(); return(availableColors); }
public bool SetAvailable(string colorName) { bool Confirmation = false; ColorManagementServices ColorManager = new ColorManagementServices(); Confirmation = ColorManager.SetAvailable(colorName); return(Confirmation); }
// COLE - COLOR MANAGEMENT public bool RemoveColor(string colorNameRemove) { bool Confirmation = false; ColorManagementServices ColorManager = new ColorManagementServices(); Confirmation = ColorManager.RemoveColor(colorNameRemove); return(Confirmation); }
// COLE - Color Management public bool AddColor(string colorName) { bool Confirmation = false; ColorManagementServices ColorManager = new ColorManagementServices(); Confirmation = ColorManager.AddColor(colorName); // add color to db return(Confirmation); }