public async Task <Family> AddFamily(Family family) { try { var id = Guid.NewGuid().ToString("D"); family.Id = id; family.PartitionKey = PartitionKey.Generate("R", id, 1000); return(await store.AddAsync(family)); } catch (Exception ex) { _logger.LogError(@$ "Adding item, LastName:{family.LastName} failed \n\r{ex.ToString()}"); } return(family); }