public ActionResult RemoveSave(PhoneContact phoneContact)
        {
            _jsonPhoneDictionary.RemoveContact(phoneContact);

            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
        public async Task <ActionResult> RemoveSave(PhoneContact phoneContact)
        {
            await _sqlPhoneDictionary.RemoveContact(phoneContact);

            return(RedirectToAction("Index"));
        }