Exemplo n.º 1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _addressRepository.DeleteItem(id);

            return(RedirectToAction(DefaultView));
        }