Example #1
0
 public static CuratorListState ReduceFetchCuratorListAction(CuratorListState state, FetchCuratorListAction action) =>
 new CuratorListState(
     isLoading: true,
     curators: null);
        public async Task HandleFetchCuratorListAction(FetchCuratorListAction action, IDispatcher dispatcher)
        {
            var curators = await _admin.GetAllCurators();

            dispatcher.Dispatch(new FetchCuratorListResultAction(curators));
        }