示例#1
0
        public async Task <ActionResult> GetCircleEventParticipations(PaginationParams paginationParams, int eventId, [FromQuery] CircleEventParticipationStatus status)
        {
            var memberListFromRepo = await _repo.GetCircleEventParticipationList(paginationParams, eventId, status);

            Response.AddPagination(memberListFromRepo.CurrentPage, memberListFromRepo.PageSize, memberListFromRepo.TotalCount, memberListFromRepo.TotalPages);
            return(Ok(_mapper.Map <IEnumerable <CircleEventParticipationForReturnDto> >(memberListFromRepo)));
        }