Exemplo n.º 1
0
        public async Task <IActionResult> Delete(Movement movement)
        {
            int success = await _movementService.DeleteMovementAsync(movement);

            if (success < 0)
            {
                return(NotFound());
            }
            return(RedirectToAction("Index"));
        }