public async Task <ComponentFull> FindAsyncFull(int id, object?userId = null, bool noTracking = true) { var query = PrepareQuery(userId, noTracking); var domainEntity = await query .Include(c => c.Manufacturer) .Include(c => c.ComponentSpecifications) .ThenInclude(s => s.Specification) .Include(c => c.ComponentTests) .ThenInclude(t => t.Test) .Include(c => c.ComponentInComputers) .Include(c => c.ComponentType) .FirstOrDefaultAsync(c => c.Id.Equals(id)); var result = _mapper.MapToDALFull(domainEntity); return(result); }