mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Обновил модель базы данных
Слегка изменил сущности Добавил страницу в Web Сделал компонент с карточками для принетров
This commit is contained in:
1 parent
9cc166e37d
commit
24adf91ad9
16 files changed
+788
-21
No files matched your search
@@ -5,6 +5,6 @@ namespace CartriX.Api.Controllers.Location
|
||||
{
|
||||
public class LocationService(AppDbContext _context) : ILocationService
|
||||
{
|
||||
public async Task<List<Entities.Location>> List() => await _context.Locations.ToListAsync();
|
||||
public async Task<List<Entities.Location>> List() => await _context.Locations.Include(l => l.Printers).ThenInclude(p => p.Model).ThenInclude(m => m.Manufacturer).ToListAsync();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user