# Interface IConfigUnitsRepository

Namespace
  adas_core.Application.Repositories.Interfaces

Assembly
  adas-core.Application.dll

    public interface IConfigUnitsRepository : IMongoRepository<ConfigUnits>

Inherited Members
  IMongoRepository<ConfigUnits>.Collection
  IMongoRepository<ConfigUnits>.GetCollectionName()
  IMongoRepository<ConfigUnits>.InsertOneAsync(ConfigUnits)
  IMongoRepository<ConfigUnits>.DeleteAsync(ObjectId)
  IMongoRepository<ConfigUnits>.UpdateOneAsync(ObjectId, ConfigUnits)

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Methods

### FindById(string)

Asynchronously retrieves a ConfigUnits entity by its unique identifier. Returns `null` when no matching configuration unit is found.

    Task<ConfigUnits?> FindById(string id)

#### Parameters

`id` string

  The unique identifier of the configuration unit to look up.

#### Returns

Task<ConfigUnits>

  A task that represents the asynchronous operation, containing the matching ConfigUnits or `null` if no entity is found.