Example #1
0
        public static List <string> GetRoutingPortalForToday()
        {
            CaseStatisticsDataLayer objdata = new CaseStatisticsDataLayer();
            List <string>           cList   = objdata.GetRoutingPortalGraph(DateTime.Today, DateTime.Today);

            cList.Add(DateTime.Today.ToString("dd-MMM-yyyy") + " till date.");
            return(cList);
        }
Example #2
0
        public static List <string> RoutingPortaOnFilter(string startdate, string enddate)
        {
            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 <string>           cList = objdata.GetRoutingPortalGraph(Strtday, EndDt);

            cList.Add(startdate + " to " + enddate + ".");
            return(cList);
        }