public async Task <IActionResult> Delete(int id) { await _industriesServices.DeleteIndustry(id); return(NoContent()); }
public async Task <IActionResult> DeleteConfirmed(int id) { await _industryServices.DeleteIndustry(id); return(RedirectToAction(nameof(Index))); }