예제 #1
0
        public async Task <IActionResult> DeleteConfirmed(Guid id)
        {
            var _item = await _usuarioServicio.Borrar(id);

            if (_item.Exitoso == false)
            {
                return(BadRequest(ModelState));
            }

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