public IActionResult CreateTrainingMaster(TrainingMaster TrainingMaster) { try { _ITraining.InsertTrainingMaster(TrainingMaster); return(RedirectToAction("TrainingList")); } catch (Exception ex) { return(View()); } }