Beispiel #1
0
 public byte[] SendQuery(CommandSubaddress subaddress, byte?data = null, int bytesToRead = 0)
 {
     return(_commandDispatcher.SendQuery((byte)subaddress, data, bytesToRead));
 }
Beispiel #2
0
        public async Task <List <BlogCategoryDto> > GetAll()
        {
            var data = await _commandDispatcher.SendQuery(new GetAllBlogCategoriesQuery());

            return(data);
        }