protected override async Task OnInitAsync() { this.Title = "Types de client"; await LoadCustomerTypes(); await JavascriptFunctions.InitTable("customerTypeTable"); }
// protected int CustomerTypeId { get; set; } #endregion #region Initialisation protected override async Task OnInitAsync() { this.Title = "Clients"; this.CustomerTypes = SelectListItems.Convert(await AdministrationService.GetCustomerTypes(), (src, dest) => { dest.Id = src.Id; dest.Text = src.Text; }); await LoadCustomers(); await JavascriptFunctions.InitTable("customerTable"); }