Пример #1
0
 private static bool IsValidPosition(ImportOfficersPrisonersDto officer)
 {
     if (officer.Position == "Overseer" ||
         officer.Position == "Guard" ||
         officer.Position == "Watcher" ||
         officer.Position == "Labour"
         )
     {
         return(true);
     }
     return(false);
 }
Пример #2
0
 private static bool IsValidWepon(ImportOfficersPrisonersDto officer)
 {
     if (officer.Weapon == "Knife" ||
         officer.Weapon == "FlashPulse" ||
         officer.Weapon == "ChainRifle" ||
         officer.Weapon == "Pistol" ||
         officer.Weapon == "Sniper")
     {
         return(true);
     }
     return(false);
 }