Ejemplo n.º 1
0
        public SettlementDTOPost CreateSettlement(SettlementDTOPost settlementDto)
        {
            var settlement = Mapper.Map <Settlement>(settlementDto);

            settlementRepository.Insert(settlement);
            settlementRepository.Commit();
            return(Mapper.Map <SettlementDTOPost>(settlement));
        }