コード例 #1
0
        public void PrepareCustomerModel(CustomerModel customerModel)
        {
            if (customerModel is null)
            {
                throw new ArgumentException("customerModel");
            }

            customerModel.Address.AvailableStates = SelectListHelper.GetAvailableStates(_stateService, customerModel.Address.StateProvinceId);
        }