예제 #1
0
        // COLE - Color Management
        public List <Color> GetAllColors()
        {
            List <Color>            allColors    = new List <Color>();
            ColorManagementServices ColorManager = new ColorManagementServices();

            allColors = ColorManager.GetAllColors();
            return(allColors);
        }
예제 #2
0
        // COLE - COLOR MANAGEMENT
        public List <string> GetColors()
        {
            List <string>           availableColors;
            ColorManagementServices ColorManager = new ColorManagementServices();

            availableColors = ColorManager.GetAvailableColors();
            return(availableColors);
        }
예제 #3
0
        public bool SetAvailable(string colorName)
        {
            bool Confirmation = false;
            ColorManagementServices ColorManager = new ColorManagementServices();

            Confirmation = ColorManager.SetAvailable(colorName);

            return(Confirmation);
        }
예제 #4
0
        // COLE - COLOR MANAGEMENT
        public bool RemoveColor(string colorNameRemove)
        {
            bool Confirmation = false;
            ColorManagementServices ColorManager = new ColorManagementServices();

            Confirmation = ColorManager.RemoveColor(colorNameRemove);

            return(Confirmation);
        }
예제 #5
0
        // 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);
        }