示例#1
0
        public ProfileResponseDto CreateProfile(string uid, ProfileInputDto profileInputDto)
        {
            profileInputDto.Validate();
            var profile = _profileMapper.map(profileInputDto);

            profile.UID = uid;
            return(_profileMapper.map(_profilesRepository.Create(profile)));
        }