Beispiel #1
0
        public static void ViewOne(int a)
        {
            Staffs staff = StaffList.FirstOrDefault(x => x.Id == a);

            if (staff == null)
            {
                Console.WriteLine("NO STAFF WITH THIS ID");
            }
            else
            {
                staff.Display();
            }
        }