class Horizon2020CostsSaver {

    public ServiceResult<Void> save(Horizon2020CostsForm form, long applicationId, long organisationId) {
        ApplicationFinanceResource applicationFinance = applicationFinanceRestService.getFinanceDetails(applicationId, organisationId).getSuccess();

        saveLabour(form, applicationFinance);
        saveOverhead(form, applicationFinance);
        saveMaterial(form, applicationFinance);
        saveCapital(form, applicationFinance);
        saveSubcontracting(form, applicationFinance);
        saveTravel(form, applicationFinance);
        saveOther(form, applicationFinance);

        return ServiceResult.serviceSuccess();
    }

    public  Horizon2020CostsSaver(ApplicationFinanceRestService applicationFinanceRestService, ApplicationFinanceRowRestService financeRowRestService);

}