Beispiel #1
0
        /// <summary>
        /// Getstaffs the specified staff id.
        /// </summary>
        /// <param name="staffId">The staff id.</param>
        public Staff Getstaff(int staffId)
        {
            StaffRepository staffRep  = new StaffRepository();
            Staff           staffInfo = new Staff {
                StaffId = staffId
            };

            staff = staffRep.GetStaffByStaffId(staffInfo);
            return(staff);
        }