private void UpdateActivityStatus(ActivityStatus newStatus, ReadingUnitDTO dto) { var oldStatus = dto.ActivityStatus; dto.ActivityStatus = newStatus.ToDTO(); _logger .ForContext("ReadingUnit", dto.Id) .ForContext("FromStatus", oldStatus) .ForContext("ToStatus", dto.ActivityStatus) .Information("Update activity status"); }