public SettlementDTOPost CreateSettlement(SettlementDTOPost settlementDto) { var settlement = Mapper.Map <Settlement>(settlementDto); settlementRepository.Insert(settlement); settlementRepository.Commit(); return(Mapper.Map <SettlementDTOPost>(settlement)); }