private void fillIngredients()
        {
            SastojciSelect selectSastojci = new SastojciSelect();
            SastojciResult rez            = this.menager.execute(selectSastojci) as SastojciResult;

            if (rez.Success)
            {
                GridViewSastojci.DataSource = rez.sastojci.ToList();
                GridViewSastojci.DataBind();
            }
        }
        private void fillSastojci()
        {
            SastojciSelect sastojciSelect = new SastojciSelect();
            SastojciResult rezultat       = this.menager.execute(sastojciSelect) as SastojciResult;

            if (rezultat.Success)
            {
                CheckBoxListSastojci.DataSource = rezultat.sastojci;
                for (int i = 0; i < rezultat.sastojci.Count; i++)
                {
                    CheckBoxListSastojci.DataValueField = "IdSastojka";
                    CheckBoxListSastojci.DataTextField  = "NazivSastojka";
                }
                CheckBoxListSastojci.DataBind();
            }
        }
        protected void UpdateSastojak_Click(object sender, EventArgs e)
        {
            Button btn = (Button)sender;

            if (btn != null)
            {
                int id = Convert.ToInt32(btn.CommandArgument);
                InsertUpdateSastojak.Text = "UPDATE INGREDIENT";
                LabelSastojakkkk.Text     = "Update Ingredient";
                SastojciSelect select = new SastojciSelect()
                {
                    sastojak = new SastojciItem {
                        IdSastojka = id
                    }
                };
                SastojciResult rez = (SastojciResult)menager.execute(select);
                if (rez.Success)
                {
                    HiddenFieldSas.Value = rez.sastojci[0].IdSastojka.ToString();
                    TextBoxSastojak.Text = rez.sastojci[0].NazivSastojka.ToString();
                }
            }
        }