public ActionResult Delete(Contact contact)
        {
            ContactsClient contacts = new ContactsClient();

            contacts.Delete(contact.ContactID);
            return(RedirectToAction("Index"));
        }
 public void Delete_NoIdOrUserIdOrEmail_ThrowException()
 {
     contactsClient.Delete(new Contact());
 }
 public void Delete_NoIdOrUserIdOrEmail_ThrowException()
 {
     Assert.Throws <ArgumentException>(() => contactsClient.Delete(new Contact()));
 }