public async Task <StudioDto> CreateAsync(StudioDto model) { var newEntity = Studio.Create( model.Name, model.FriendlyUrl, model.PostalCode, model.OwnerUserId, _studioUrlValidator); var entity = await _studioRepository.CreateAsync(newEntity); var result = _mapper.Map <StudioDto>(entity); return(result); }