Skip to content

Commit 9cfb5fc

Browse files
committed
CRUD for Maintenance records is ready
1 parent 9feb587 commit 9cfb5fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Data/Context/InventoryDbContext.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ namespace TechInventory.Data.Context;
55

66
public class InventoryDbContext : DbContext
77
{
8-
public DbSet<Device> Devices;
9-
public DbSet<Brand> Brands;
10-
public DbSet<DeviceModel> DeviceModels;
11-
public DbSet<MaintenanceRecord> MaintenanceRecords;
8+
public DbSet<Device> Devices { get; set; }
9+
public DbSet<Brand> Brands { get; set; }
10+
public DbSet<DeviceModel> DeviceModels { get; set; }
11+
public DbSet<MaintenanceRecord> MaintenanceRecords { get; set; }
1212

1313

1414
public InventoryDbContext(DbContextOptions<InventoryDbContext> options)

0 commit comments

Comments
 (0)