예제 #1
0
 public bool IsUnusualRole()
 {
     if (RoleCode == DefaultRole() || RoleCode == OtherRoleCode)
     {
         return(false);
     }
     if (RoleCode == IntegrationConsultCode && StaffFunctions.GetRoleDescription(StaffRoleCode).Contains("Consultant"))
     {
         return(false);
     }
     if (RoleCode == ApplicationConsultCode && StaffRoleCode == SeniorConsultantCode)
     {
         return(false);
     }
     if (ProjectRole.RoleDescription.Contains("Technical") && StaffFunctions.GetRoleDescription(StaffRoleCode).Contains("Technical"))
     {
         return(false);
     }
     return(true);
 }