Beispiel #1
0
        public async Task <long> CreatePositionAsync(PositionDto positionDto)
        {
            var position = new Position();

            Mapper.Map(positionDto, position);
            var rowsUpdated = await positionRepository.CreatePositionAsync(position, positionDto.MappingScheme);

            return(rowsUpdated);
        }