public static List <tbl_UnassignedTickets> CaseTableDataForToday() { CaseStatisticsDataLayer objdata = new CaseStatisticsDataLayer(); List <tbl_UnassignedTickets> list = objdata.GetCaseStatusDataWithFilter(DateTime.Today, DateTime.Today, ""); return(list); }
public static List <tbl_UnassignedTickets> CaseDataTableOnFilter(string startdate, string enddate, string filter) { DateTime Strtday = DateTime.Today, EndDt = DateTime.Today; if (!string.IsNullOrEmpty(startdate) && !string.IsNullOrEmpty(enddate)) { Strtday = DateTime.Parse(startdate); EndDt = DateTime.Parse(enddate); } CaseStatisticsDataLayer objdata = new CaseStatisticsDataLayer(); List <tbl_UnassignedTickets> list = objdata.GetCaseStatusDataWithFilter(Strtday, EndDt, filter); return(list); }