BlazorStart/Start/Client/Store/Features/CurrentContainer/CurrentContainerActions.cs

32 lines
846 B
C#
Raw Normal View History

2021-12-04 00:44:02 +00:00
using Start.Shared;
namespace Start.Client.Store.Features.CurrentContainer {
public class FetchCurrentContainerAction { }
public class ReceivedCurrentContainerAction {
public BookmarkContainerDto BookmarkContainer { get; init; }
public ReceivedCurrentContainerAction(BookmarkContainerDto bookmarkContainer) {
this.BookmarkContainer = bookmarkContainer;
}
}
public class ErrorFetchingCurrentContainerAction {
public string ErrorMessage { get; init; }
public ErrorFetchingCurrentContainerAction(string errorMessage) {
this.ErrorMessage = errorMessage;
}
}
public class LoadCurrentContainerAction {
public int BookmarkContainerId { get; init; }
public LoadCurrentContainerAction(int bookmarkContainerId) {
this.BookmarkContainerId = bookmarkContainerId;
}
}
public class FixCurrentContainerAction { }
}