Пример #1
0
 public IActionResult Delete(int id, TrainingCategory TrainingCategory)
 {
     try
     {
         // TODO: Add update logic here
         _ITraining.DeleteTrainingCategory(TrainingCategory.Id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }