public dynamic GetTermsandCondition(JObject Obj) { ActivityListFilters filter = Obj.ToObject <ActivityListFilters>(); int total = 0; TermsandCondition re = new TermsandCondition(); re.TermsandConditions = _adminService.GetTermsandCondition(filter.limit, filter.offset, filter.order, filter.sort, out total); var result = new { total = total, rows = re.TermsandConditions, }; return(result); }
public dynamic GetActivityList(JObject Obj) { ActivityListFilters filter = Obj.ToObject <ActivityListFilters>(); int total = 0; ActivityLogVal re = new ActivityLogVal(); re.ActivityLogData = _adminService.GetActivityList(filter.limit, filter.offset, filter.order, filter.sort, filter.Name, filter.Email, filter.userType, filter.Role, out total); var result = new { total = total, rows = re.ActivityLogData, }; return(result); }