コード例 #1
0
        public async Task <IEnumerable <UserResult> > CreateUserAsync(CreateUserRequest createUserRequest)
        {
            var request = mapper.Map <Data.CreateUserRequest>(createUserRequest);
            var result  = await userDataProvider.CreateUserAsync(request);

            return(mapper.Map <IEnumerable <UserResult> >(result));
        }