public SettlementDTOGet GetSettlement(int id) { var settlement = settlementRepository.Query().Include(s => s.Country).FirstOrDefault(s => s.Id == id); return(Mapper.Map <SettlementDTOGet>(settlement)); }