34 lines
934 B
C#
34 lines
934 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
using MangaReader.Core.Data;
|
|
using MangaReader.Core.Metadata;
|
|
using MangaReader.Core.Pipeline;
|
|
using MangaReader.Core.Search;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.UI.Dispatching;
|
|
using Microsoft.UI.Xaml.Media.Imaging;
|
|
using SixLabors.ImageSharp;
|
|
using SixLabors.ImageSharp.PixelFormats;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Net.Http;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Input;
|
|
|
|
namespace MangaReader.WinUI.ViewModels;
|
|
|
|
public partial class LibraryViewModel(MangaContext context) : ViewModelBase
|
|
{
|
|
public void GetSomething()
|
|
{
|
|
var mangas = context.Mangas
|
|
.Include(x => x.Sources)
|
|
.ThenInclude(x => x.Chapters);
|
|
|
|
//mangas.Select(x => new MangaS)
|
|
}
|
|
} |