public FixedPricesPanelViewModel(IFixedPricesDialogOpener fixedPricesDialogOpener, ICommonServices commonServices)
 {
     this.fixedPricesDialogOpener   = fixedPricesDialogOpener ?? throw new ArgumentNullException(nameof(fixedPricesDialogOpener));
     _deliveryPointPermissionResult = commonServices.CurrentPermissionService.ValidateEntityPermission(typeof(DeliveryPoint));
     _counterpartyPermissionResult  = commonServices.CurrentPermissionService.ValidateEntityPermission(typeof(Domain.Client.Counterparty));
 }
예제 #2
0
 public FixedPricesPanelViewModel(IFixedPricesDialogOpener fixedPricesDialogOpener)
 {
     this.fixedPricesDialogOpener = fixedPricesDialogOpener ?? throw new ArgumentNullException(nameof(fixedPricesDialogOpener));
 }