Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _invoicesRepository.DeleteInvoiceAsync(id);

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