public static int GetSpecialtyId(int staffId) { Staff staff = Staffs.Find(s => s.Id == staffId); return(staff.SpecialtyId); }
private static string GetStaffName(int staffId) { Staff staff = Staffs.Find(s => s.Id == staffId); return(string.Format("{0}, {1}", staff.FirstName, staff.LastName)); }