public IActionResult Get() { IEnumerable <EventDetail> EventDetails = _EventDetailRepository.GetAll(); return(Ok(EventDetails)); }