Beispiel #1
0
        /// /////////////////////////////////////////////////////////////////////////////

        #region SIZES

        public Sizes SelectAllSizes()
        {
            Sizes sizes = new Sizes();

            sizes.SelectAll();
            return(sizes);
        }
Beispiel #2
0
        public bool DeleteSize(Size size)
        {
            Sizes sizes = new Sizes();

            sizes.SelectAll();
            sizes.Delete(size);
            return(sizes.Save());
        }
Beispiel #3
0
        public bool ModifySize(Size oldSize, Size newSize)
        {
            Sizes sizes = new Sizes();

            sizes.SelectAll();
            if (sizes.Modify(oldSize, newSize))
            {
                return(sizes.Save());
            }
            else
            {
                return(false);
            }
        }
Beispiel #4
0
        public bool AddSize(Size size)
        {
            Sizes sizes = new Sizes();

            sizes.SelectAll();
            if (sizes.Add(size))
            {
                return(sizes.Save());
            }
            else
            {
                return(false);
            }
        }