public CustomersViewState GetCurrentState() { var state = CustomersViewState.CreateDefault(); UpdateViewState(state); return(state); }
public async Task LoadAsync(CustomersViewState state) { ViewState = state ?? CustomersViewState.CreateDefault(); ApplyViewState(ViewState); await RefreshAsync(); }