コード例 #1
0
        public JsonResult UpdateContactPerson(VendorViewModel vViewModel)
        {
            try
            {
                Set_Date_Session(vViewModel.ContactPerson);

                _vRepo.UpdateContactPerson(vViewModel.ContactPerson);

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

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

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

            return(Json(vViewModel));
        }