예제 #1
0
        private void LoadHouseholds()
        {
            Households.Clear();
            var households = _repository.Household.GetRange(c => c.PurokNo == Model.PurokNo);

            foreach (var household in households)
            {
                Households.Add(new HouseholdModel(household, _repository));
            }
        }