Example #1
0
        public void AddExplanation(int objectID, string type, string exp)
        {
            IGumruk iGumruk = new BSGumruk();

            if (type == "column")
            {
                iGumruk.AddColumnExplanation(objectID, exp, GetCurrentUser().id);
            }
            else if (type == "table")
            {
                iGumruk.AddTableExplanation(objectID, exp, GetCurrentUser().id);
            }
        }
Example #2
0
        public void AddColumnExplanation(int column_id, string Exp)
        {
            IGumruk iGumruk = new BSGumruk();

            int userID = 0;

            if (GetCurrentUser() != null)
            {
                userID = GetCurrentUser().id;
            }

            iGumruk.AddColumnExplanation(column_id, Exp, userID);
        }
Example #3
0
        public void AddColumnExplanationPost(int column_id, string Exp)
        {
            IGumruk iGumruk = new BSGumruk();

            iGumruk.AddColumnExplanation(column_id, Exp, GetCurrentUser().id);
        }