//
        // GET: /TaskLists/Details/{id}?creatorId={creatorId}

        public ActionResult Details(string id, string creatorId)
        {
            var lists = _manager.GetAllLists(User.UniqueId);
            if (lists == null || lists.Count() == 0 || !lists.Any(l => l.Id == id))
            {
                throw new HttpException(404, "List not found");
            }

            var selectedList = lists.First(l => l.Id == id);
            var model = new Server.MvcModel.ListViewModel()
                {
                    Lists = lists,
                    SelectedList = selectedList
                };
            return View(model);
        }
        //
        // GET: /TaskLists/

        public ActionResult Index()
        {
            var lists = _manager.GetAllLists(User.UniqueId);
            if (lists != null && lists.Count() > 0)
            {
                var selectedList = lists.First();
                var model = new Server.MvcModel.ListViewModel()
                {
                    Lists = lists,
                    SelectedList = selectedList
                };
                return View(model);
            }

            return RedirectToAction("Create", "TaskLists");
        }