public ActionResult Category(string tag, string start) { if (Request.IsAjaxRequest()) { var data = CategoryModel.GetCategoryMovieEntities(tag, string.IsNullOrEmpty(start) ? "0" : start); return(PartialView("_PartialCategory", data)); } else { var model = new CategoryModel(this.ServiceManager, tag); model.Init(); return(View(model)); } }