|
|
@@ -42,7 +42,7 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
if (dto.CityId.HasValue && dto.CityId > 0)
|
|
|
query = query.Where((m, s, c) => m.CityId == dto.CityId.Value);
|
|
|
|
|
|
- int totalCount = 0;
|
|
|
+ RefAsync<int> totalCount = 0;
|
|
|
var list = await query.OrderBy((m, s, c) => m.Id, OrderByType.Desc)
|
|
|
.Select((m, s, c) => new MaterialCostView
|
|
|
{
|