Beispiel #1
0
 public InflexibilityPeriodMotivationDto AddMotivation([FromBody] InflexibilityPeriodMotivationDto motivation) => _inflexibilityPeriodsService.AddMotivation(motivation);
Beispiel #2
0
 public InflexibilityPeriodMotivationDto AddMotivation(InflexibilityPeriodMotivationDto motivation)
 {
     motivation.Id = _inflexibilityPeriodMotivationRepository.Add(_mapper.Map <InflexibilityPeriodMotivationDto, InflexibilityPeriodMotivation>(motivation));
     return(motivation);
 }