示例#1
0
        public async Task <ActionResult> GetLatestCircleTopics(int id)
        {
            var circleTopicsForReturn = await _repo.GetLatestCircleTopicList(id);

            return(Ok(_mapper.Map <IEnumerable <CircleTopicForReturnDto> >(circleTopicsForReturn)));
        }
 public async Task <ActionResult> GetLatestCircles(int circleId)
 {
     return(Ok(this._mapper.Map <IEnumerable <CircleTopicForReturnDto> >(await _repo.GetLatestCircleTopicList(circleId))));
 }