public override bool Update()
        {
            DateTime?demontaz = null;

            if (DatumDemontaze != "")
            {
                demontaz = DateTime.Parse(DatumDemontaze);
            }
            return(UseDbMethod(Databaza.UpdateLampaNaStlpe(IdLampy, Cislo, IdTypu, Stav, DatumInstalacie, demontaz)));
        }