コード例 #1
0
        public static List <tbl_UnassignedTickets> CaseTableDataForToday()
        {
            CaseStatisticsDataLayer      objdata = new CaseStatisticsDataLayer();
            List <tbl_UnassignedTickets> list    = objdata.GetCaseStatusDataWithFilter(DateTime.Today, DateTime.Today, "");

            return(list);
        }
コード例 #2
0
        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);
        }