Exemplo n.º 1
0
 public void removeEvent(Event aEvent)
 {
     if (myEvents.Remove(aEvent))
     {
         if(aEvent.EventType == Event.eType.Start)
         {
             isValid--;
         }
         else if(aEvent.EventType == Event.eType.Stop)
         {
             isValid++;
         }
     }
 }
 public ActionResult Delete(Event aEvent)
 {
     return Delete(aEvent.Id);
 }