I´m using sitefinity 8.2 version in a MVC asp.net aplication where I have created two custom fields in Events built-in module.
When I bring a detailed single event I can see all its properties including the image etc.
But after I try all possible tutorials to bring the custom fields that I have created it always returns null.
EventsManager eventsManager = EventsManager.GetManager();
Event item = eventsManager.GetEvents().Where(ev => ev.UrlName == itemName).FirstOrDefault(); // it works and bring the single item
How can I query the two custom fields created ?