public async Task <IActionResult> Delete(int id)
        {
            await _industriesServices.DeleteIndustry(id);

            return(NoContent());
        }
Esempio n. 2
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _industryServices.DeleteIndustry(id);

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