public ActionResult Managemembership() { ViewBag.SelectedTab = SelectedAdminTab.Membership; var plans = _membershipManager.GetPlansPagedList(PagingModel.DefaultModel("CreatedOn", "Desc")); return(View(plans)); }
public ActionResult PaymentPlans() { var getPlans = _membershipManager.GetPlansPagedList(new PagingModel() { RecordsPerPage = 100, SortBy = "ID", SortOrder = "Asc" }); return(View(getPlans)); }
public ActionResult PaymentPlans() { if (LOGGEDIN_USER.IsAuthenticated) { return(RedirectToAction("PaymentPlans", "Payment", new { area = "User" })); } var getPlans = _membershipManager.GetPlansPagedList(new PagingModel() { RecordsPerPage = 100, SortBy = "ID", SortOrder = "Asc" }); return(View(getPlans)); }