[Authorize(Roles = "Admin")] //Skal endres til enten role admin eller orgadmin skal adde andre orgadmins public async Task <ActionResult> SetOrgAdminAsync(int orgId, [FromBody] string userId) { await _organizerService.SetOrgAdminAsync(orgId, userId); Log.Information("User {userId} set as Admin for Organizer {orgId}", userId, orgId); return(Ok()); }