public ActionResult Create(VehicleType_Model MyModel)
 {
     if (string.IsNullOrEmpty(MyModel.ID) || Convert.ToInt32(MyModel.ID) == 0)
     {
         if (MyTravel_Repository.ManageEntity(MyModel, "Post"))
         {
             TempData["Notification"] = Notification_Component.SetNotification((int)Notification_Component.Result.Success, "Data Inserted Successfully!");
         }
         else
         {
             TempData["Notification"] = Notification_Component.SetNotification((int)Notification_Component.Result.Info, "Data not Inserted!");
         }
     }
     else
     {
         if (MyTravel_Repository.ManageEntity(MyModel, "Put"))
         {
             TempData["Notification"] = Notification_Component.SetNotification((int)Notification_Component.Result.Success, "Data Updated Successfully!");
         }
         else
         {
             TempData["Notification"] = Notification_Component.SetNotification((int)Notification_Component.Result.Info, "Data not Updated!");
         }
     }
     return(RedirectToAction("Index"));
 }