public void AddSetting( string state, double postageCost, double codCost, int countryId, //todo: (aut:juiceek) drop this param string culture) { var newRecord = new DeliverySettingRecord() { State = state, //DeliveryCost = deliveryCost, DeliveryCulture = culture, Country = _countryRepository.Get(countryId), PostageCost = postageCost, CodCost = codCost }; _deliverySettingsRepository.Create(newRecord); }
public void UpdateSetting(DeliverySettingRecord setting) { _deliverySettingsRepository.Update(setting); }