public static async Task <Photo> UploadPhoto(this IPlanGridApi api, string projectUid, string contentType, string title, Stream payload, CancellationToken cancellationToken = default(CancellationToken))
        {
            FileUpload request = await api.CreatePhotoUploadRequest(projectUid, new PhotoUpload { ContentType = contentType, Title = title });

            return(await api.Upload <Photo>(request, payload, cancellationToken));
        }