コード例 #1
0
 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"));
     }
 }
コード例 #2
0
        public IHttpActionResult WTOGetHSCodeData(DashboardSearch obj1)
        {
            DashboardBusinessService obj = new DashboardBusinessService();

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