public async Task <IActionResult> DeleteConfirmed(int id)
        {
            var success = await _service.DeleteEntryAsync(id);

            if (!success)
            {
                return(RedirectToAction(nameof(Delete), new { id }));
            }

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