Fix Isactive issue

This commit is contained in:
2026-09-09 16:30:38 +05:30
parent f9e4bb3a97
commit eb0303fa3f
3 changed files with 5 additions and 5 deletions
@@ -9,7 +9,7 @@ public class SupplierRepository(AppDBContext context) : ISupplierRepository
await context.Suppliers.FindAsync(id);
public async Task<List<Models.Supplier>> GetAllAsync() =>
await context.Suppliers.Where(s => s.IsActive).ToListAsync();
await context.Suppliers.ToListAsync();
public async Task AddAsync(Models.Supplier entity) =>
await context.Suppliers.AddAsync(entity);