Exemplo n.º 1
0
 public void SendCommand(CommandSubaddress subaddress, byte?data = null)
 {
     _commandDispatcher.SendCommand((byte)subaddress, data);
 }
Exemplo n.º 2
0
 public async Task Create(CreateCategoryRequestDto request)
 {
     var command = request.MapTo <CreateCategoryCommand>();
     await _commandDispatcher.SendCommand(command);
 }