示例#1
0
        public IHttpActionResult GetEventAttendance(int eventId)
        {
            var attendance = _eventService.GetEventWithAttendanceDetails(eventId);

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