protected void gvClients_OnRowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "Modify")
            {
                var clientManager = new ClientManager();
                currentId = Convert.ToInt32(e.CommandArgument);
                var client = clientManager.Get(currentId);
                fvRestaurateur.ChangeMode(FormViewMode.Edit);
                var src = new List<ClientInfo>();
                src.Add(client);
                fvRestaurateur.DataSource = src;
                fvRestaurateur.DataBind();
                PopupHelper.ShowPopup("#pop",this);
            }
            if(e.CommandName == "ToBlackLst")
            {
                var userManager = new UserDataManager();

                var user = userManager.GetById(Convert.ToInt32(e.CommandArgument));
                userManager.SetToBlackList(user);
            }
        }
        protected void GridView1_OnRowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "ToBlackLst")
            {

                var userManager = new UserDataManager();

                var user = userManager.GetById(Convert.ToInt32(e.CommandArgument));
                userManager.SetToBlackList(user);
                Response.Redirect(Request.RawUrl);
            }
        }