コード例 #1
0
        public GlobalJsonResult <EmptyResult> New([FromBody] VideoMetadataCreateRequest request)
        {
            var video = videoComponentService.Initialize(request.Id, request);

            videoComponentService.Save(video);

            return(GlobalJsonResult <EmptyResult> .Success(HttpStatusCode.Created));
        }
コード例 #2
0
 public void CreateVideoMetadata(VideoMetadataCreateRequest videoReference)
 {
     this.Post <VideoMetadataCreateRequest, EmptyResult>("api/VideoMetadata/NewVideo", videoReference);
 }