예제 #1
0
        protected override async Task OnInitAsync()
        {
            this.Title = "Types de client";
            await LoadCustomerTypes();

            await JavascriptFunctions.InitTable("customerTypeTable");
        }
예제 #2
0
        // 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");
        }