Remove GetAllAsync method from MassDataRepository

The GetAllAsync method, which returned all Massdata records, has been removed from the MassDataRepository class. No other changes were made in this commit.
This commit is contained in:
OlgunR
2026-04-21 10:30:10 +02:00
parent c16f0483c3
commit 95a388015a

View File

@@ -20,11 +20,6 @@ public class MassDataRepository : IMassDataRepository
return await _db.Massdata.AsNoTracking().CountAsync(cancellationToken); return await _db.Massdata.AsNoTracking().CountAsync(cancellationToken);
} }
public async Task<List<Massdata>> GetAllAsync(CancellationToken cancellationToken = default)
{
return await _db.Massdata.AsNoTracking().ToListAsync(cancellationToken);
}
public async Task<Massdata?> GetByCustomerNameAsync(string customerName, CancellationToken cancellationToken = default) public async Task<Massdata?> GetByCustomerNameAsync(string customerName, CancellationToken cancellationToken = default)
{ {
return await _db.Massdata.AsNoTracking() return await _db.Massdata.AsNoTracking()