public static DeleteContainerState FetchDeleteContainerForm(DeleteContainerState state) { return(state with { IsLoadingDeleteContainer = true, DeleteContainerErrorMessage = null }); }
public static DeleteContainerState HideDeleteContainerForm(DeleteContainerState state) { return(state with { ShowDeleteContainerForm = false, DeleteContainerErrorMessage = null }); }
public static DeleteContainerState ErrorFetchingDeleteContainer(DeleteContainerState state, ErrorFetchingDeleteContainerAction action) { return(state with { DeleteContainerErrorMessage = action.ErrorMessage, IsLoadingDeleteContainer = false }); }
public static DeleteContainerState ReceivedDeleteContainer(DeleteContainerState state) { return(state with { IsLoadingDeleteContainer = false, DeleteContainerErrorMessage = null, ShowDeleteContainerForm = false }); }
public static DeleteContainerState ShowDeleteContainerForm(DeleteContainerState state, ShowDeleteContainerFormAction action) { return(state with { ShowDeleteContainerForm = true, BookmarkContainerIdToDelete = action.ContainerIdToDelete, BookmarkContainerTitleToDelete = action.ContainerTitleToDelete, DeleteContainerErrorMessage = null }); }