Exemple #1
0
        public async Task <Traveler> CreateAsync(Traveler traveler)
        {
            var entity = traveler.ToEntity();
            await travelerRepository.InsertOrReplaceAsync(entity);

            return(entity.ToModel());
        }