package eu.dnetlib.is.protocol;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import eu.dnetlib.common.controller.AbstractDnetController;

public class AbstractProtocolController extends AbstractDnetController {

	@Autowired
	protected ProtocolService protocolService;

	@GetMapping("/")
	public List<ProtocolDesc> listProtocols() {
		return protocolService.listProtocols();
	}

}
