/**
 * Created by kostiantynmrachko on 4/3/17.
 */
import {MOVE_COURSE} from '../../constants/actionTypes';

export default (oldIndex, newIndex) => {
  return {
    type: MOVE_COURSE,
    payload: {
      oldIndex,
      newIndex
    }
  }
};