// GET: PublisherManage
        public ActionResult Index(String name, Int32 pageIndex = 0)
        {
            if(!string.IsNullOrEmpty(name))
            {
                name = name.Trim();
            }

            PublisherManageIndexModel model = new PublisherManageIndexModel();
            model.FilterName = name;

            PublisherInfoCondition condition = new PublisherInfoCondition();
            condition.PublisherName = name;

            IEnumerable<PublisherInfo> publishers = this.IPublisherInfoDataProvider.GetPublisherList(condition);

            PagingContent<PublisherInfo> paging = new PagingContent<PublisherInfo>(publishers, pageIndex);

            foreach (var item in paging.EntityList)
            {
                model.PublisherModelList.Add(PublisherModel.GetViewModel(item));
            }

            model.PagingContent = paging;

            return View(model);
        }
 public ActionResult Index(PublisherManageIndexModel model)
 {
     return RedirectToAction("Index", new
     {
         name = model.FilterName
     });
 }