public JsonResult Check_Existing_Vendor(string vendor_Name) { bool check = false; try { check = _vendorMan.Check_Existing_Vendor(vendor_Name); } catch (Exception ex) { Logger.Error("Vendor Controller - Check_Existing_Vendor " + ex.ToString()); } return(Json(check, JsonRequestBehavior.AllowGet)); }