Merge branch 'distributor' into dev
This commit is contained in:
@@ -36,7 +36,7 @@ namespace PARR.DAL.Services.Implementations
|
||||
|
||||
public IQueryable<DateOnly> GetWeekends(DateOnly start, DateOnly end)
|
||||
{
|
||||
return EntitySet.Where(t => t.Date >= start && t.Date <= end).Select(t => t.Date);
|
||||
return EntitySet.Where(t => t.Date >= start && t.Date <= end).AsNoTracking().Select(t => t.Date);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user