partial void DeleteERCurrentTime(ERCurrentTime instance);
 partial void InsertERCurrentTime(ERCurrentTime instance);
 partial void UpdateERCurrentTime(ERCurrentTime instance);
 public ActionResult UpdateTimer(int id, ERCurrentTime t)
 {
     //updating a time based on id
     if (ModelState.IsValid)
     {
         try
         {
             obj.commitUpdateTime((TimeSpan)t.waitTime, 1);
             return RedirectToAction("Index");
         }
         catch
         {
             return View();
         }
     }
     return View();
 }