Пример #1
0
        public void Remove(PrrModel model)
        {
            var commandService = _clientFactory.GetCommandServiceClient();

            commandService.Execute(new RemovePrr
            {
                ProductId   = model.ProductId,
                CatalogName = model.CatalogName,
                CustomerId  = model.CustomerId
            });
        }
Пример #2
0
        public void ChangeReminderDate(PrrModel model)
        {
            var commandService = _clientFactory.GetCommandServiceClient();

            commandService.Execute(new ChangePrrDate
            {
                ProductId       = model.ProductId,
                CatalogName     = model.CatalogName,
                CustomerId      = model.CustomerId,
                ReminderDateUtc = model.ReminderDateUtc
            });
        }