Ejemplo n.º 1
0
        private async Task DisplayData()
        {
            var articleSet = await CategoryRepositoryAsync.GetAllAsync(pager.PageIndex, pager.PageSize);

            pager.RecordCount = articleSet.TotalRecords;
            customers         = articleSet.Records.ToList();
        }
Ejemplo n.º 2
0
        protected override async Task OnInitializedAsync()
        {
            Product = await ProductRepositoryAsync.GetByIdAsync(ProductId);

            Categories = await CategoryRepositoryAsync.GetAllAsync();

            CategoryId = Product.CategoryId.ToString();
        }
Ejemplo n.º 3
0
 protected override async Task OnInitializedAsync()
 {
     Categories = await CategoryRepositoryAsync.GetAllAsync();
 }