Exemplo n.º 1
0
        //Add Data From Linked Tables for Display
        public void EditItemForDisplay(PublicHolidayGroupHolidayDate publicHolidayGroupHolidayDate)
        {
            PublicHolidayGroupRepository publicHolidayGroupRepository = new PublicHolidayGroupRepository();
            PublicHolidayGroup           publicHolidayGroup           = new PublicHolidayGroup();

            publicHolidayGroup = publicHolidayGroupRepository.GetGroup(publicHolidayGroupHolidayDate.PublicHolidayGroupId);
            if (publicHolidayGroup != null)
            {
                publicHolidayGroupHolidayDate.PublicHolidayGroupName = publicHolidayGroup.PublicHolidayGroupName;
            }
        }