Exemplo n.º 1
0
        public async Task <UpdateFacesPayload> ApproveAllFacesByMediaAsync(
            Guid mediaId,
            CancellationToken cancellationToken)
        {
            IEnumerable <MediaFace>?faces = await _faceService.ApproveAllByMediaAsync(
                mediaId,
                cancellationToken);

            return(new UpdateFacesPayload(faces));
        }