public override OperationObject execute(SmartSoftwareBazaEntities entities) { OperationObject rez = null; if (this.DataSelectOprema != null) { entities.ObrisiOpremuIzKorpe(this.DataSelectOprema.id_oprema); rez = base.execute(entities); } else { entities.ObrisiCeluKorpu(); rez = new OperationObject() { Success = true }; } return(rez); }