예제 #1
0
    public static List <Button> GetAllButtonsByPageURLnUserID(string pageURL, int loginID)
    {
        List <Button>     buttons           = new List <Button>();
        SqlButtonProvider sqlButtonProvider = new SqlButtonProvider();

        buttons = sqlButtonProvider.GetAllButtonsByPageURLnUserID(pageURL, loginID);
        return(buttons);
    }
예제 #2
0
파일: ButtonManager.cs 프로젝트: anam/gp-HO
    public static List<Button> GetAllButtonsByPageURLnUserID(string pageURL,int loginID)
    {
        pageURL = pageURL.Split('/')[pageURL.Split('/').Length - 1].Contains('?') ? pageURL.Split('/')[pageURL.Split('/').Length - 1].Split('?')[0] : pageURL.Split('/')[pageURL.Split('/').Length - 1];

        List<Button> buttons = new List<Button>();
        SqlButtonProvider sqlButtonProvider = new SqlButtonProvider();
        buttons = sqlButtonProvider.GetAllButtonsByPageURLnUserID(pageURL,loginID);
        return buttons;
    }
예제 #3
0
파일: ButtonManager.cs 프로젝트: iebbd/org
    public static List <Button> GetAllButtonsByPageURLnUserID(string pageURL, int loginID)
    {
        pageURL = pageURL.Split('/')[pageURL.Split('/').Length - 1].Contains('?') ? pageURL.Split('/')[pageURL.Split('/').Length - 1].Split('?')[0] : pageURL.Split('/')[pageURL.Split('/').Length - 1];

        List <Button>     buttons           = new List <Button>();
        SqlButtonProvider sqlButtonProvider = new SqlButtonProvider();

        buttons = sqlButtonProvider.GetAllButtonsByPageURLnUserID(pageURL, loginID);
        return(buttons);
    }