protected void LinkButtonBodyShopsUpdate_Click(object sender, EventArgs e)
 {
     Log.Debug("Update shop");
     HttpCookie cookie = Request.Cookies[CookieName];
     if (cookie == null)
     {
         Log.Warn("Cookie with shop info has expired!");
         return;
     }
     DataBase dataBase = new DataBase();
     Shop shop = new Shop
         {
             Name = textBoxManageShopsInputBodyName.Text.Trim(),
             Address = textBoxManageShopsInputBodyAddress.Text.Trim(),
             City = textBoxManageShopsInputBodyCity.Text.Trim(),
             Owner = textBoxManageShopsInputBodyOwner.Text.Trim(),
             PostalCode = Misc.String2Number(textBoxManageShopsInputBodyPostalCode.Text.Trim()),
             IsCompany = checkBoxManageShopsInputBodyIsCompany.Checked,
             Id = new Guid(cookie["Name"]),
         };
     dataBase.UpdateShop(shop);
     PopulateShops();
     ClearFields();
 }