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