Beispiel #1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _reportServices.DeleteReport(id);

            return(RedirectToAction(nameof(Index)));
        }
Beispiel #2
0
        public async Task <IActionResult> Delete(int id)
        {
            await _reportServices.DeleteReport(id);

            return(NoContent());
        }