public async System.Threading.Tasks.Task <ActionResult> CheckHsncode(string Hsncode, string Previoushsncode) { if (Hsncode == Previoushsncode) { return(Json(true, JsonRequestBehavior.AllowGet)); } bool check = Commonhelper.CheckHsncode(Hsncode); if (check) { return(Json(false, JsonRequestBehavior.AllowGet)); } else { return(Json(true, JsonRequestBehavior.AllowGet)); } }