BlazorStart/Start/Client/Store/Features/CreateContainer/CreateContainerActions.cs

28 lines
696 B
C#
Raw Permalink Normal View History

2021-12-04 00:44:02 +00:00
using Start.Shared;
namespace Start.Client.Store.Features.CreateContainer {
public class ShowCreateContainerFormAction { }
public class HideCreateContainerFormAction { }
public class FetchCreateContainerAction { }
public class ReceivedCreateContainerAction { }
public class ErrorFetchingCreateContainerAction {
public string ErrorMessage { get; set; }
public ErrorFetchingCreateContainerAction(string errorMessage) {
this.ErrorMessage = errorMessage;
}
}
public class SubmitCreateContainerAction {
public BookmarkContainerDto NewContainer { get; set; }
public SubmitCreateContainerAction(BookmarkContainerDto container) {
this.NewContainer = container;
}
}
}