Beispiel #1
0
        public async Task RemovePeople()
        {
            var people = await HelperConnect.GetPeople("*****@*****.**");

            await HelperConnect.RemovePeople(people.id);

            Assert.IsFalse(await HelperConnect.FindEmail(people.Email));
        }
        public async Task <ActionResult> Remove(int id)
        {
            await HelperConnect.RemovePeople(id);

            return(RedirectToAction("Index", "Home"));
        }