protected StoreActionContainer MakeContainer(StoreActionType type, IPayload data) { return(new StoreActionContainer() { type = type, data = data }); }
private void RequireLoggedOutAction(StoreActionType action) { var containerData = new ResponseData() { message = "Error: You are already logged in. Please log out first then try again." }; Dispatch(MakeContainer(action, containerData)); }