admin adress

This commit is contained in:
Tizian.Breuch
2025-10-10 11:12:29 +02:00
parent 7c2521308f
commit 5f8d3c167c
6 changed files with 152 additions and 0 deletions

View File

@@ -52,5 +52,9 @@ namespace Webshop.Infrastructure.Repositories
await _context.SaveChangesAsync();
}
}
public async Task<IEnumerable<Address>> GetAllAsync()
{
return await _context.Addresses.ToListAsync();
}
}
}