Пример #1
0
        public async Task <ActionResult> GetAllByName(string nameCommunity)
        {
            var communities = await _communityService.GetCommunitiesName(nameCommunity);

            return(Ok(_mapper.Map <IEnumerable <CommunityDto> >(communities)));
        }