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