public async Task <IHttpActionResult> Get() { var result = await manager.GetEvents(); return(Ok(result)); }
/// <summary> /// You can query Event details using this end point. /// </summary> /// <returns>EventDTO</returns> public async Task <IHttpActionResult> Get() { var result = await _manager.GetEvents(); return(Ok(result.TransformToDto())); }