public IHttpActionResult Post([FromBody] Training item)
 {
     try
     {
         training.Insert(new Training {
             ID = item.ID, StartDate = item.StartDate, EndDate = item.EndDate,
             RegistrationClosingDate = item.RegistrationClosingDate, Cost = item.Cost, VenueID = item.VenueID
         });
         return(Redirect("Index"));
     }
     catch
     {
         return(Ok());
     }
 }