Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public Task <string> CreateUserIndexHistory(UserIndexHistory userIndexHistory)
 {
     throw new NotImplementedException();
 }