diff --git a/Core.Inventory.Provider/Providers/Inventory/FurnitureBaseProvider.cs b/Core.Inventory.Provider/Providers/Inventory/FurnitureBaseProvider.cs
index fd57e96..e288bc2 100644
--- a/Core.Inventory.Provider/Providers/Inventory/FurnitureBaseProvider.cs
+++ b/Core.Inventory.Provider/Providers/Inventory/FurnitureBaseProvider.cs
@@ -38,13 +38,13 @@ namespace Core.Inventory.Provider.Providers.Inventory
///
/// Changes the status of a FurnitureBase entity.
///
- /// The furniture base identifier.
+ /// The furniture base identifier.
/// The new status to apply.
/// Cancellation token.
/// The updated .
- public async ValueTask ChangeStatusAsync(string id, StatusEnum newStatus, CancellationToken cancellationToken)
+ public async ValueTask ChangeStatusAsync(string mongoId, StatusEnum newStatus, CancellationToken cancellationToken)
{
- var entity = await repository.FindByIdAsync(id);
+ var entity = await repository.FindByIdAsync(mongoId);
entity.Status = newStatus;
await repository.ReplaceOneAsync(entity);
return entity;
@@ -83,17 +83,17 @@ namespace Core.Inventory.Provider.Providers.Inventory
///
/// Gets a FurnitureBase entity by its ID.
///
- /// The furniture base identifier.
+ /// The furniture base identifier.
/// Cancellation token.
/// The corresponding .
- public async ValueTask GetByIdAsync(string _id, CancellationToken cancellationToken)
+ public async ValueTask GetByIdAsync(string mongoId, CancellationToken cancellationToken)
{
- var cacheKey = CacheKeyHelper.GenerateCacheKey(this, nameof(GetByIdAsync), _id);
+ var cacheKey = CacheKeyHelper.GenerateCacheKey(this, nameof(GetByIdAsync), mongoId);
var cached = await cacheProvider.GetAsync(cacheKey);
if (cached is not null) return cached;
- var result = await repository.FindByIdAsync(_id);
+ var result = await repository.FindByIdAsync(mongoId);
await cacheProvider.SetAsync(cacheKey, result);
return result;
}