{"size": 313, "ext": "js", "max_stars_repo_path": "resources/js/backend/services/menu-service.js", "max_stars_repo_name": "guodalin/customer", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/js/backend/services/menu-service.js", "max_issues_repo_name": "guodalin/customer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/js/backend/services/menu-service.js", "max_forks_repo_name": "guodalin/customer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.5625, "max_line_length": 54, "alphanum_fraction": 0.5910543131}
import BaseService from './base-service';

export default class MenuService extends BaseService {
    menus() {
        return this.get('/admin/menu');
    }

    store(data) {
        return this.post('/admin/menu', data);
    }

    remove(menuId) {
        return this.delete('/admin/menu/' + menuId);
    }
}
