Пример #1
0
        public ActionResult ListVisitHistory([DataSourceRequest] DataSourceRequest request, int memberId)
        {
            var result = memberProvider.ListMemberVisit(memberId);

            return(Json(result.ToDataSourceResult(request)));
        }
Пример #2
0
        public ActionResult ListVisits([DataSourceRequest] DataSourceRequest request, int memberId)
        {
            var visits = memberProvider.ListMemberVisit(memberId);

            return(Json(visits.ToDataSourceResult(request)));
        }