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