Moved Home page code to code-behind
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user