internal void Save() { try { if (Id == 0) { DbAdapterEF.PracownikInsert(this); } else { DbAdapterEF.PracownikUpdate(this); } } catch (Exception ex) { log.Error(ex); throw ex; } }