// GET: Category
        public ActionResult Index(int?page)
        {
            if (page == null)
            {
                page = 1;
            }

            var list = new CategoryDb().GetsCategories(0);

            int pageSize = 3;

            int pageNumber = (page ?? 1);

            return(View(list.ToPagedList(pageNumber, pageSize)));
        }