feat(core, infrastructure): RedisCacheService - изменение/добавление полей в кэше списокм. UnitCacheService - оптимизация при получении данных.
This commit is contained in:
@@ -91,7 +91,7 @@ namespace PARR.API.Controllers.V1
|
||||
[HttpPost(ApiRoutes.Test.CreateCache)]
|
||||
public async Task<IActionResult> CreateCache([FromBody] Guid unitId)
|
||||
{
|
||||
//var units = await unitRepository.Get().Take(100).Select(t => t.Id).ToListAsync();
|
||||
//var units = await unitRepository.Get().Take(100000).Select(t => t.Id).ToListAsync();
|
||||
//var listData = await unitService.GetWithCachingAsync(units);
|
||||
//foreach(var unit in units)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user