private dataTableResult <ActivityData> ActivityView(DateTime beginDate, DateTime endDate, string reportType) { IEnumerable <ActivityData> query; query = repServ.ActivityReportController(beginDate, endDate, reportType); var result = GetDataTableResult <ActivityData>(query); return(result); }