public virtual JsonResult Read([DataSourceRequest] DataSourceRequest request, FilterRange range) { //var t = taskService.GetAll(); var data = taskService.GetRange(range.Start, range.End); return(Json(data.ToDataSourceResult(request))); //return Json(taskService.GetAll().ToDataSourceResult(request)); }
public virtual JsonResult Read(DataSourceRequest request, DateTime start, DateTime end) { var data = taskService.GetRange(start, end); return(Json(data.ToDataSourceResult(request))); }
public virtual JsonResult Read(DataSourceRequest request, FilterRange range) { var data = taskService.GetRange(range.Start, range.End); return(Json(data.ToDataSourceResult(request))); }
public virtual JsonResult Read(DateTime start, DateTime end) { return(Json(taskService.GetRange(start, end))); }