Exemplo n.º 1
0
        public static AgentRating GetAgentRating(LoginUser loginUser, int agentRatingID)
        {
            AgentRatings agentRatings = new AgentRatings(loginUser);

            agentRatings.LoadByAgentRatingID(agentRatingID);
            if (agentRatings.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(agentRatings[0]);
            }
        }
Exemplo n.º 2
0
 public AgentRating(DataRow row, AgentRatings agentRatings) : base(row, agentRatings)
 {
     _agentRatings = agentRatings;
 }