public async ValueTask <TokenRequest> Create(CreateTokenRequest request) { var token = await request.Create(context, hasher, configuration, HttpContext); await context.SaveChangesAsync(); return(token); }
public async ValueTask Create(CreateAccountRequest request) { await request.Create(context, hasher, roles); await context.SaveChangesAsync(); }