예제 #1
0
        public JsonResult UpdateVendorBank(VendorViewModel vViewModel)
        {
            try
            {
                Set_Date_Session(vViewModel.Bank);

                _vRepo.UpdateVendorBank(vViewModel.Bank);

                vViewModel.FriendlyMessage.Add(MessageStore.Get("VB02"));

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

                Logger.Error("Vendor Controller - UpdateVendorBank  " + ex.Message);
            }

            return(Json(vViewModel));
        }