public JsonResult DeleteContactPerson(VendorViewModel vViewModel) { try { _vRepo.DeleteContactPerson(vViewModel.ContactPerson.ContactPersonId, vViewModel.ContactPerson.RefId); Logger.Debug("Vendor Controller DeleteContactPerson"); } catch (Exception ex) { vViewModel.FriendlyMessage.Add(MessageStore.Get("CP03")); Logger.Error("Vendor Controller - DeleteContactPerson" + ex.ToString()); } return(Json(vViewModel)); }