public JsonResult GetTaskFrequencyDistributionDetails(string startTime, string endTime, string DepartmentName, string TimeHour) { List <SearchInfo> ModelList = DbFunction.GetTaskFrequencyDistributionDetails(DepartmentName, startTime, endTime, TimeHour); return(Json(ModelList)); }