public ActionResult WTOGetHSCodeGraphData() { if (Convert.ToString(Session["UserId"]).Trim().Length > 0) { DashboardBusinessService obj = new DashboardBusinessService(); DashboardSearch obj1 = new DashboardSearch(); return(View("~/Views/Partial/Dashboard/DashboardHSCode.cshtml", obj.GetHSCodeGraphData(obj1))); } else { return(PartialView("RedirectToLogin")); } }
public IHttpActionResult WTOGetHSCodeData(DashboardSearch obj1) { DashboardBusinessService obj = new DashboardBusinessService(); return(Ok(obj.GetHSCodeGraphData(obj1))); }