Exemplo n.º 1
0
        //public ProcResult AuditorPrivilegeTemplates(long corpType, string privileges, long creator)
        //{
        //    try
        //    {
        //        var result = db.UP_AuditorPrivilegeTemplate(corpType, privileges, creator);

        //        return new ProcResult()
        //        {
        //            IsSuccess = result.Split('|')[0] == "true",
        //            ProcMsg = result.Split('|')[1]
        //        };
        //    }
        //    catch (Exception ex)
        //    {
        //        LogUtil.Exception("ExceptionLogger", ex);
        //        return new ProcResult();
        //    }
        //}


        public int AuditorPrivilegeTemplates(long corpType, string privileges, long creator)
        {
            return(db.UP_AuditorPrivilegeTemplate(corpType, privileges, creator));
        }