예제 #1
0
        public JsonResult DeleteVendorBank(VendorViewModel vViewModel)
        {
            try
            {
                _vRepo.DeleteVendorBank(vViewModel.Bank.BankId, vViewModel.Bank.VendorId);

                Logger.Debug("Vendor Controller DeleteVendorBank");
            }
            catch (Exception ex)
            {
                vViewModel.FriendlyMessage.Add(MessageStore.Get("VB03"));

                Logger.Error("Vendor Controller - DeleteVendorBank" + ex.ToString());
            }

            return(Json(vViewModel));
        }