Пример #1
0
        public IActionResult GetTestIndividual()
        {
            var result = new IndividualAppDto
            {
                FirstName = "Matthias",
                Gender    = IndividualGenderAppDto.Male,
                Id        = "Tra124",
                LastName  = "Müller"
            };

            return(Ok(result));
        }
        public async Task <IndividualAppDto> UpdateIndividualAsync(IndividualAppDto dto)
        {
            var individual = _mapper.Map <Individual>(dto);

            return(await SaveIndividualAsync(individual));
        }