public async Task UpsertAsync(IEnumerable <Weight> weights)
        {
            for (int i = 0; i < weights.Count(); i += 500)
            {
                await _healthContext
                .UpsertRange(weights.Skip(i).Take(500))
                .RunAsync();

                _healthContext.SaveChanges();
            }
        }