public async Task <string> CreateUserIndexHistory(UserIndexHistory userIndexHistory) { //assuming all data is Validated prior to calling this method SetEntityType(userIndexHistory); //New item var up = await client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri(_settings.DatabaseId, _settings.DefaultCollectionId), userIndexHistory); var createdUserIndeHistory = (UserIndexHistory)(dynamic)up.Resource; return(createdUserIndeHistory.Id); }
public Task <string> CreateUserIndexHistory(UserIndexHistory userIndexHistory) { throw new NotImplementedException(); }