Beispiel #1
0
        public IHttpActionResult GetEventAttendanceSummary(int eventId)
        {
            var attendance = _eventService.GetEventAttendanceSummary(eventId);

            if (attendance != null)
            {
                return(Ok(attendance));
            }
            else
            {
                return(NotFound());
            }
        }