📁 ClassLibrary
│ ├── 📄 ClassLibrary.csproj
│ ├── 🧩 Domain # Domain models (use this in WinUI project, do not redefine them there)
│ ├── 🧾 IRepository # Interfaces (must be implemented in WinUI/Repository)
│ └── 📘 README.md
📄 Project setup - ISS.pdf
📄 UBB-SE-SLN.sln
📁 WebAPI
│ ├── 🎮 Controller
│ ├── 🗄️ Data
│ ├── 🧩 Entity
│ ├── 📜 LICENSE
│ ├── 📄 Pages
│ ├── 🧠 Program.cs
│ ├── ⚙️ Properties
│ ├── 📘 README.md
│ ├── 🛠️ Repository
│ ├── 📄 WebApi.csproj
│ ├── ⚙️ appsettings.Development.json
│ ├── ⚙️ appsettings.json
│ └── 🌐 wwwroot
📁 WinUI
│ ├── 📄 App.xaml
│ ├── 🧠 App.xaml.cs
│ ├── 🖼️ Assets
│ ├── 🪟 MainWindow.xaml
│ ├── 🧠 MainWindow.xaml.cs
│ ├── 🧩 Model
│ ├── 📦 Package.appxmanifest
│ ├── ⚙️ Properties
│ ├── 🛠️ Repository # Implement interfaces from ClassLibrary/IRepository here
│ ├── 🔧 Service
│ ├── 🖼️ View
│ ├── 🧠 ViewModel
│ ├── 📄 WinUI.csproj
│ ├── ⚙️ WinUI.csproj.user
│ └── ⚙️ app.manifest
❗️ This assumes that you dropped your local database first! ❗️ Edit: Osaki here, use the sql script, migrations are not working.
- Go into the WebAPI folder:
cd WebAPI
- Run the table creations script:
dotnet ef database update InitialCreate
- Run the mock data seeding script:
dotnet ef database update SeedMockData