Beispiel #1
0
        public RateDto AddRate(RateDto rateDto)
        {
            var rate      = _mapper.Map <Rate>(rateDto);
            var addedRate = _ratesRepository.AddRate(rate);

            return(_mapper.Map <RateDto>(addedRate));
        }