Example #1
0
 public static bool IsReport(int employeeid)
 {
     Leaders.Authorize a = LeaderType(employeeid);
     if (a == Leaders.Authorize.Authorize_REPORT)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public static bool IsLeader(int employeeid)
 {
     Leaders.Authorize a = LeaderType(employeeid);
     if (a == Leaders.Authorize.Authorize_APPR)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }