Exemplo n.º 1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _amenity.DeleteAmentity(id);

            return(RedirectToAction(nameof(Index)));
        }