public GlobalJsonResult <EmptyResult> New([FromBody] VideoMetadataCreateRequest request) { var video = videoComponentService.Initialize(request.Id, request); videoComponentService.Save(video); return(GlobalJsonResult <EmptyResult> .Success(HttpStatusCode.Created)); }
public void CreateVideoMetadata(VideoMetadataCreateRequest videoReference) { this.Post <VideoMetadataCreateRequest, EmptyResult>("api/VideoMetadata/NewVideo", videoReference); }