Beispiel #1
0
        public bool addPermisosxObjeto(Int64 Rol, string Pagina, string Obj, string TipoObjeto, string Tool)
        {
            linqIELDataBaseDataContext dboSegLatino = new linqIELDataBaseDataContext();

            try
            {
                bool bFlag = true;
                dboSegLatino.sp_insPermisosxObjeto(Rol, Pagina, Obj, TipoObjeto, Tool);
                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);
            }
        }