Esempio n. 1
0
 public void Add(AttrCategoryAddCommand command)
 {
     AttributeId   = command.AttributeId;
     CategoryId    = command.CategoryId;
     IsFilter      = command.IsFilter;
     FilterSpan    = command.FilterSpan;
     BaseUnitId    = command.BaseUnitId;
     AttributeType = command.AttributeType;
     DisplayOrder  = command.DisplayOrder;
     IsRequired    = command.IsRequired;
     AddOrChangeEvent();
 }
Esempio n. 2
0
        public async Task <CommandResult> SendCommand(AttrCategoryAddCommand command)
        {
            CommandResult commandResult = await _commandService.SendAndReceiveResult <CommandResult>(command);

            return(commandResult);
        }