コード例 #1
0
        public async Task <IEnumerable <ClubSummaryViewModel> > GetAllClubs()
        {
            var clubs = await clubService.GetAllClubs();

            return(mapper.Map <IEnumerable <Club>, IEnumerable <ClubSummaryViewModel> >(clubs));
        }