예제 #1
0
 public IEnumerable <DiaryEvent> Get(string vehicleName)
 {
     return(_service.GetEvents(vehicleName)
            .Select(item => new DiaryEvent(item))
            .ToArray());
 }