Beispiel #1
0
 // So it can be mocked out in unit tests
 virtual public int GetConsoleIdByName(string consoleName)
 {
     return(Consoles.Where(x => x.ConsoleName == consoleName).FirstOrDefault().ConsoleId);
 }