Example #1
0
        private async void GetAllProduct()
        {
            IEnumerable <Product> ProductEntityList = await m_ProductDao.GetAll();

            IEnumerable <ProductViewModel> ProductViewModel =
                ResolveViewModelArray(ProductEntityList);

            m_ProductViewModellList = ProductViewModel;

            m_view.GetAll(m_ProductViewModellList);
        }