Пример #1
0
        public async Task <ActionResult <List <OrganizerListVm> > > GetOrgsWhereUserIsAdminAsync()
        {
            var userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;
            var orgs   = await _organizerService.GetOrgsWhereUserIsAdminAsync(userId);

            return(Ok(orgs));
        }