public ActionResult Index(SurchargeViewModel model) { var docs = SurchargeBl.GetDocuments(CurrentUser.Id, CurrentUser.UserRole, model.DepartmentId, 0, model.BeginDate, model.EndDate, model.UserName, model.SortBy, model.SortDescending, model.Number); return PartialView("IndexPartial",docs); }
public ActionResult Index() { var model = new SurchargeViewModel(); return View(model); }