コード例 #1
0
        public async ValueTask <TokenRequest> Create(CreateTokenRequest request)
        {
            var token = await request.Create(context, hasher, configuration, HttpContext);

            await context.SaveChangesAsync();

            return(token);
        }
コード例 #2
0
        public async ValueTask  Create(CreateAccountRequest request)
        {
            await request.Create(context, hasher, roles);

            await context.SaveChangesAsync();
        }