Beispiel #1
0
 private Event GetEventById(int?id)
 {
     if (id != null)
     {
         var localEvents = BaseLayer.GetLocalEventsList();
         for (int i = 0; i < Events.Count; i++)
         {
             if (Events[i].Id == id)
             {
                 return(localEvents[i]);
             }
         }
     }
     return(null);
 }