/*
 *
 * UserManageAddForm actions
 *
 */

import {
  INITADDFORM_ACTION, SUBMITADDFORM_ACTION, SETSUBMIT_ACTION,
} from './constants';

export function initAddFormAction() {
  return {
    type: INITADDFORM_ACTION,
  };
}

export function setSubmitAction(submit) {
  return {
    type: SETSUBMIT_ACTION,
    submit,
  };
}

export function submitAddFormAction(form) {
  return {
    type: SUBMITADDFORM_ACTION,
    form,
  };
}
