-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathImages.cs
33 lines (33 loc) · 990 Bytes
/
Images.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Topo.Images
{
public interface IImages
{
public string GetLogoForSection(string section);
}
public class Images : IImages
{
public string GetLogoForSection(string section)
{
var logoName = "";
switch (section)
{
case "joey":
logoName = "Joey Scouts Full Col Vertical.jpg";
break;
case "cub":
logoName = "Cub Scouts Full Col Vertical.png";
break;
case "scout":
logoName = "Scouts Full Col Vertical.jpg";
break;
case "venturer":
logoName = "Venturer Scouts Full Col Vertical.jpg";
break;
case "rover":
logoName = "Rover Scouts Full Col Vertical.jpg";
break;
}
return logoName;
}
}
}