public ActionResult SetDisplay(string id, string display)
        {
            if (!Authenticated())
            {
                return RedirectToAction("AdminLogin", "Auth");
            }

            var repo = new ShirtRepository();

            repo.UpdateShirt(id, "display", display);
            var shirt = repo.FindShirtById(id);

            shirt.Display = bool.Parse(display);

            Globals.Types[shirt.Type] =
                repo.firstDisplayedShirtOfType(shirt.Type) == null ?
                null : "http://res.cloudinary.com/throw-down-attire/image/upload/" + shirt.Type + ".png";

            return RedirectToAction("Admin", "Auth");
        }
        public ActionResult DeleteShirt(string id)
        {
            if (!Authenticated())
            {
                return RedirectToAction("AdminLogin", "Auth");
            }

            var repo = new ShirtRepository();
            var shirt = repo.deleteShirt(id);

            Globals.Shirts.Remove(shirt);

            if (repo.firstShirtOfType(shirt.Type) == null)
            {
                Globals.Types.Remove(shirt.Type);
                repo.deleteImage(shirt.Type);
            }
            else if (repo.firstDisplayedShirtOfType(shirt.Type) == null)
            {
                Globals.Types[shirt.Type] = null;
            }

            return RedirectToAction("Admin", "Auth");
        }