Esempio n. 1
0
        public async Task <IActionResult> DeletePersonById(int id)
        {
            var personDelete = await _personAppService.DeletePersonById(id);

            var output = _personAppService.GetPeopleList();

            output.Remove(personDelete);
            return(View("PeopleList", output));
        }