This commit is contained in:
2022-06-24 23:56:43 +00:00
parent 96f47de2e5
commit 34931a6ca7
7 changed files with 96 additions and 36 deletions

View File

@@ -196,6 +196,14 @@ namespace AyaNova.Biz
return await ct.TravelRate.AsNoTracking().Select(x => x.Unit).Where(x => x != null).Distinct().OrderBy(x => x).ToListAsync();
}
////////////////////////////////////////////////////////////////////////////////////////////////
//GET LIST FOR QBI MAPPING
//
internal async Task<List<NameIdActiveChargeCostItem>> GetNameIdActiveChargeCostItemsAsync()
{
return await ct.TravelRate.AsNoTracking().Select(x => new NameIdActiveChargeCostItem { Name = x.Name, Id = x.Id, Active = x.Active, Cost = x.Cost, Charge = x.Charge }).OrderBy(x => x.Name).ToListAsync();
}
////////////////////////////////////////////////////////////////////////////////////////////////
//SEARCH
//