コード例 #1
0
        public JsonResult CheckVendorNameExist(string vendorName)
        {
            bool check = false;

            VendorViewModel vViewModel = new VendorViewModel();

            try
            {
                check = _vRepo.CheckVendorNameExist(vendorName);

                Logger.Debug("Vendor Controller CheckVendorNameExist");
            }
            catch (Exception ex)
            {
                Logger.Error("Vendor Controller - CheckVendorNameExist" + ex.Message);
            }

            return(Json(check, JsonRequestBehavior.AllowGet));
        }