using Azaion.Repository; using Azaion.Repository.DTO; namespace Azaion.Video; public class VideoManager(IDbFactory dbFactory) : IVideoManager { public List GetVideos() { return dbFactory.Run(db => db.Medias .Where(x => x.AnnotatorId != null) .Select(x => new VideoDto { Id = x.Id, Path = x.Path, CreatedDate = x.CreatedDate, MediaStatus = x.Status }) .ToList()); } public void OpenVideo(Guid mediaId) { throw new NotImplementedException(); } public void OpenTestVideo() { } public void FinishAnnotation(Guid mediaId) { throw new NotImplementedException(); } }