Example #1
0
        /// <summary>
        /// Adds a few default containers to the db if it's empty
        /// </summary>
        static void AddDefaultContainers()
        {
            var cc = new ContainerController();

            if (cc.GetCount() > 0)
            {
                return;
            }

            cc.AddContainer("Container A");
            cc.AddContainer("Container B");
            cc.AddContainer("Container C");
            cc.AddContainer("Container D");
            cc.AddContainer("Container E");
        }