コード例 #1
0
        public async Task <ActionResult <CurrentMainEventVm> > GetCurrentMainEventAsync()
        {
            var userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;

            return(await _mainEventService.GetCurrentMainEventAsync(userId));
        }