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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user