예제 #1
0
        public SettlementDTOGet GetSettlement(int id)
        {
            var settlement = settlementRepository.Query().Include(s => s.Country).FirstOrDefault(s => s.Id == id);

            return(Mapper.Map <SettlementDTOGet>(settlement));
        }