Пример #1
0
        public async Task <ActionResult <OrganizerVm> > SetOrganizerContactAsync(int orgId, [FromBody] string userId)
        {
            var contact = await _organizerService.SetOrganizerContactAsync(orgId, userId);

            Log.Information("User {userId} set as contact for Organizer {orgId}", userId, orgId);
            return(Ok(contact));
        }