public static AgentRatingUser GetAgentRatingUser(LoginUser loginUser, int agentRatingID) { AgentRatingUsers agentRatingUsers = new AgentRatingUsers(loginUser); agentRatingUsers.LoadByAgentRatingID(agentRatingID); if (agentRatingUsers.IsEmpty) { return(null); } else { return(agentRatingUsers[0]); } }
public AgentRatingUser(DataRow row, AgentRatingUsers agentRatingUsers) : base(row, agentRatingUsers) { _agentRatingUsers = agentRatingUsers; }