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

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

            return(RedirectToAction("Index"));
        }