Пример #1
0
        public void AddTableExplanation(double table_id, string Exp)
        {
            IGumruk iGumruk = new BSGumruk();

            int tblID = (int)(table_id / 0.123123);

            iGumruk.AddTableExplanation(tblID, Exp, GetCurrentUser().id);
        }
Пример #2
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);
            }
        }