Exemplo n.º 1
0
 public ShippingProviderOption(ShippingProviderPart provider, ShippingOptionRecord option)
 {
     this.Provider = provider;
     this.Option = option;
 }
Exemplo n.º 2
0
 public ShippingProviderOption(ShippingProviderPart provider, ShippingOptionRecord option)
 {
     this.Provider = provider;
     this.Option   = option;
 }
 private void InitEditViewModel(ref ShippingOptionEditViewModel model, ShippingProviderPart provider)
 {
     model.ShippingProviderName = provider.As<ITitleAspect>().Title;
     model.ReturnUrl = Url.ItemAdminUrl(provider);
     model.ShippingZones = _shippingService.GetZones();
 }
Exemplo n.º 4
0
 public IEnumerable<ShippingOptionRecord> GetOptions(ShippingProviderPart part)
 {
     return _optionRepository.Fetch(o => o.ShippingProviderId == part.Id);
 }