Example #1
0
        /// <summary>
        ///Get Hire Group Detail List
        /// </summary>
        /// <returns>Hire Group Detail Response</returns>
        public HireGroupDetailResponse GetHireGroupDetailsForTariffRate(long standardRtMainId)
        {
            IEnumerable <HireGroupDetail> hireGroupDetails = hireGroupDetailRepository.GetHireGroupDetailsForTariffRate();
            IEnumerable <StandardRate>    standardRates    =
                standardRateRepository.GetStandardRateForTariffRate(standardRtMainId);

            return(new HireGroupDetailResponse
            {
                HireGroupDetails = hireGroupDetails,
                StandardRates = standardRates,
                StandardRateId = standardRtMainId
            });
        }