public class StanowiskaAjaxAction {
public String deleteStanowiska(Integer id){
try {
StanowiskoService stanowiskoService = (StanowiskoService) BusinessUtil.findBusiness("StanowiskoService");
stanowiskoService.deleteById(id);
} catch (Exception e) {
e.printStackTrace();
return e.getCause().getMessage();
}
return "";