public static MeasurementStandardEntity FromDomain(MeasurementStandard domain) => new MeasurementStandardEntity(domain.Id, domain.Name, domain.Pollutant.NameCode, domain.Limit, domain.Percent, domain.Averaging);
public static MeasurementStandardDto FromDomain(MeasurementStandard domain) => new MeasurementStandardDto(domain.Id ?? throw new ArgumentException("Id is null"),
public MeasurementStandard ToDomain() => MeasurementStandard.Create(_name, _pollutant, _limit, _percent, _averaging);