Ejemplo n.º 1
0
    public bool Check_Power(int a_id, string a_name, int fi_no1, int fi_no2, string lg_ip, bool bl_save)
    {
        AdminPowerBLL apBLL = new AdminPowerBLL();
        AdminLoginBLL alBLL = new AdminLoginBLL();

        if (apBLL.Check(a_id, fi_no1, fi_no2, true))
        {
            if (bl_save == true)
            {
                alBLL.Insert(a_id, fi_no2, DateTime.Now, lg_ip);
            }
            return(true);
        }
        else
        {
            return(false);
        }
    }