Exemple #1
0
        public async Task <IEnumerable <OrganizerResource> > GetAllAsync()
        {
            var organizers = await _organizerService.ListAsync();

            var resources = _mapper.Map <IEnumerable <Organizer>, IEnumerable <OrganizerResource> >(organizers);

            return(resources);
        }