|
@@ -21,6 +21,9 @@ namespace ProbnikDemo
|
|
Random r = new Random();
|
|
Random r = new Random();
|
|
foreach (Agent a in agents)
|
|
foreach (Agent a in agents)
|
|
{
|
|
{
|
|
|
|
+ if( a.Logo == ""){
|
|
|
|
+ a.Logo = "/agents/picture.png";
|
|
|
|
+ }
|
|
AgentType agentType = BaseConnect.BaseModel.AgentType.FirstOrDefault(x => x.ID == a.AgentTypeID);
|
|
AgentType agentType = BaseConnect.BaseModel.AgentType.FirstOrDefault(x => x.ID == a.AgentTypeID);
|
|
a.AgentTypes = agentType.Title;
|
|
a.AgentTypes = agentType.Title;
|
|
|
|
|