Table of Contents

Class HouseholdDataResponseMapper

Namespace
SEBT.Portal.Api.Models.Household
Assembly
SEBT.Portal.Api.dll

Maps domain household models to API response DTOs.

public static class HouseholdDataResponseMapper
Inheritance
object
HouseholdDataResponseMapper

Methods

ToResponse(HouseholdData, HouseholdAnalyticsIdentifiers?)

Maps domain HouseholdData to the API response model. The mapper stays a pure projection. The controller decides which states emit the analytics digests.

public static HouseholdDataResponse ToResponse(this HouseholdData domain, HouseholdAnalyticsIdentifiers? analyticsIdentifiers = null)

Parameters

domain HouseholdData
analyticsIdentifiers HouseholdAnalyticsIdentifiers

Returns

HouseholdDataResponse