Moved Home page code to code-behind

This commit is contained in:
Khwezi Mngoma
2026-05-30 10:17:47 +02:00
parent 0a3dd61ce0
commit 07749bd68c
4 changed files with 125 additions and 130 deletions
+12
View File
@@ -0,0 +1,12 @@
namespace MidrandBookshop.Models;
public class BookItem
{
public long Id { get; set; } // Refactored to hold unique record indices of type long
public string Title { get; set; } = string.Empty;
public string Author { get; set; } = string.Empty;
public decimal Price { get; set; }
public string Category { get; set; } = string.Empty;
public bool IsNew { get; set; }
public string Isbn { get; set; } = string.Empty;
}