Esempio n. 1
0
 public static ManagerApprovalsState ReduceGetManagerApprovalsAction(ManagerApprovalsState state, GetManagerApprovalsAction action) =>
 new ManagerApprovalsState(isLoading: true, accessRequests: Array.Empty <AccessRequest>());
Esempio n. 2
0
 public static ManagerApprovalsState ReduceGetManagerApprovalsResultAction(ManagerApprovalsState state, GetManagerApprovalsResultAction action) =>
 new ManagerApprovalsState(isLoading: false, accessRequests: action.AccessRequests);