Example #1
0
        public IEnumerable <Models.Event> GetDoorEvents(Guid doorGuid, [FromQuery] BasePagedSearchModel searchModel)
        {
            var events = _eventRepository.GetForDoor(doorGuid, searchModel);

            return(_eventMapper.ToWebModels(events));
        }