public ActionResult UpdateSave(PhoneContact phoneContact)
        {
            _jsonPhoneDictionary.UpdateContact(phoneContact);

            return(RedirectToAction("Index"));
        }
示例#2
0
        public async Task <ActionResult> UpdateSave(PhoneContact phoneContact)
        {
            await _sqlPhoneDictionary.UpdateContact(phoneContact);

            return(RedirectToAction("Index"));
        }