Example #1
0
 public ActionResult GetNotificationGraphData(DashboardSearch obj1)
 {
     if (Convert.ToString(Session["UserId"]).Trim().Length > 0)
     {
         DashboardBusinessService obj = new DashboardBusinessService();
         DateTime d = DateTime.Now;
         d             = d.AddMonths(-1);
         obj1.DateFrom = d.ToString("dd MMM yyyy");
         return(View("~/Views/Partial/Dashboard/DashboardNotificationHistory.cshtml", obj.GetNotificationGraphDataMonthly(obj1)));
     }
     else
     {
         return(PartialView("RedirectToLogin"));
     }
 }
Example #2
0
        public IHttpActionResult WTOGetNotificationGraphDataMonthly(DashboardSearch obj1)
        {
            DashboardBusinessService obj = new DashboardBusinessService();

            return(Ok(obj.GetNotificationGraphDataMonthly(obj1)));
        }