// GET: Admin/Design
        public ActionResult Index(DesignViewModel model, int?page)
        {
            var currentPage = page.HasValue ? page.Value - 1 : 0;
            var pageSize    = 10;
            int total       = 0;
            var lst         = _designService.GetByFilter(model.KeyWord, model.ParentCategoryId, currentPage, pageSize, out total);

            model.Designs = new PagedList <Design>(lst, currentPage, pageSize, total);
            ViewData["ParentCategories"] = _categoryService.GetParents(1); //parent type production

            return(View(model));
        }