@Override
public void Dismissal(Dismissal dismissal, Usracc useraccount) {
Document document = new Document();
document.setName("consumption_dismissal");
document.setDate(dismissal.getOrderDate());
Consumption consumption = new Consumption();
consumption.setDocumentFk(document);
entityManagerBuhDb.persist(document);
consumption.setTotal(dismissal.getSalary());
consumption.setTypeOfConsumption("dismissal");
entityManagerBuhDb.persist(consumption);
entityManagerAccountDb.remove(useraccount);
entityManagerPersondb.persist(dismissal);