public async Task UpdateVideoAsync(UpdatedVideo video, IUser currentUser) { await CheckPermissionVideoAsync(video.VideoKey, currentUser); await DataSource(currentUser).Update("Interpretations.Video", video).ExecuteAsync(); }
public async Task UpdateVideo([FromBody] UpdatedVideo video) { await m_VideoService.UpdateVideoAsync(video, await GetCurrentUserAsync()); }