Exemplo n.º 1
0
        public bool addMenuxAppRol(Int64 Rol, Int64 App, string Menu, string Img, string Obj, string Url, string Tool, Int64 Orden)
        {
            linqIELDataBaseDataContext dboSegLatino = new linqIELDataBaseDataContext();

            try
            {
                bool bFlag = true;
                dboSegLatino.sp_insMenuXAppRol(Rol, Menu, Img, Obj, Url, Tool, Orden);
                return(bFlag);
            }
            catch (Exception ex)
            {
                StackTrace st      = new StackTrace(true);
                CommonDA   ComunDA = new CommonDA();
                ComunDA.insErrorDB("Error: " + ex.Message + " En El Metodo: " + MethodBase.GetCurrentMethod().Name, st, "", "");
                throw new Exception(ex.Message);
            }
        }