public Slider add(Slider slider)
        {
            logger.Info("Add Slider: ");
            try
            {
                if (slider == null)
                {
                    throw new ArgumentNullException("Slider");
                }
                context.AddSlider(slider);
                logger.Info("End  Add Slider: ");
                return(slider);
            }
            catch (Exception ex)
            {
                logger.Error("Error in Add Slider " + ex.Message);

                return(null);
            }
        }