Exemple #1
0
 public async Task <IActionResult> DeleteConfirmed(int id)
 {
     _productGroupRepository.DeleteEntity(id);
     _productGroupRepository.Save();
     return(RedirectToAction(nameof(Index)));
 }