Package com.infoclinika.mssharing.web.controller.response

Examples of com.infoclinika.mssharing.web.controller.response.SuccessErrorResponse


        long userId = getUserId(principal);
        try {
            management.editInstrument(userId, instrument.id, instrument.details);
            management.setInstrumentOperators(userId, instrument.id, instrument.operators);
        } catch (Exception e) {
            return new SuccessErrorResponse(e.getMessage(), null);
        }
        return new SuccessErrorResponse(null, "Instrument updated");
    }
View Full Code Here

TOP

Related Classes of com.infoclinika.mssharing.web.controller.response.SuccessErrorResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.