public async Task <User> CreateUserAsync(IdentityUser data) { var entry = await Context.Users.AddAsync(data.Create()); await Context.SaveChangesAsync(); return(await GetByIdOrFailAsync(entry.Entity.Id)); }