Пример #1
0
 public void SendCommand(CommandSubaddress subaddress, byte?data = null)
 {
     _commandDispatcher.SendCommand((byte)subaddress, data);
 }
Пример #2
0
 public async Task Create(CreateCategoryRequestDto request)
 {
     var command = request.MapTo <CreateCategoryCommand>();
     await _commandDispatcher.SendCommand(command);
 }