Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RequestMapping(method = RequestMethod.POST, value = "email/mRacunZatrazen", produces = "text/plain;charset=UTF-8")
- public String mRacunZatrazen(@RequestBody EmailSetup emailSetup) {
- LOGGER_MRACUN.info("Poziva se metoda mRacunZatrazen");
- return evpServices.eService.mRacunZatrazen(emailSetup) ? "true" : "false";
- }
- @RequestMapping(method = RequestMethod.POST, value = "email/mRacunActive", produces = "text/plain;charset=UTF-8")
- public String mRacunActive(@RequestBody EmailSetup emailSetup) {
- LOGGER_MRACUN.info("Poziva se metoda mRacunActive");
- return evpServices.eService.mRacunActive(emailSetup) ? "true" : "false";
- }
- @RequestMapping(method = RequestMethod.POST, value = "email/mRacunDeactivate", produces = "text/plain;charset=UTF-8")
- public String mRacunDeactivate(@RequestBody EmailSetup emailSetup) {
- LOGGER_MRACUN.info("Poziva se metoda mRacunDeactivate za email "+emailSetup.getEmail());
- return evpServices.eService.mRacunDeactivate(emailSetup) ? "" : "Neuspješna deaktivacija mračuna!";
- }
- @RequestMapping(method = RequestMethod.POST, value = "ak/getKaskoData")
- private KaskoNovaPolica getForNovaPolica(@RequestBody KaskoStaraPolica staraPolica) {
- LOGGER_AK.info("Poziva se metoda getForNovaPolica");
- return evpServices.akService.getForNovaPolica(staraPolica);
- }
- @RequestMapping(method = RequestMethod.POST, value = "ak/vozilo")
- private VoziloIzlaz getVozilo(@RequestBody VoziloUlaz vozilo) {
- LOGGER_AK.info("zovemo metodu getVozilo");
- return evpServices.akService.getVozilo(vozilo);
- }
Add Comment
Please, Sign In to add comment