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