Beispiel #1
0
        public async Task SaveAsync(IUserAssignmentFail userAssignmentFail)
        {
            var entity = UserAssignmentFailEntity.Create(userAssignmentFail);

            await _table.InsertOrReplaceAsync(entity);
        }
Beispiel #2
0
        public async Task <IUserAssignmentFail> GetAsync(string contractAddress)
        {
            var result = await _table.GetDataAsync(UserAssignmentFailEntity.GetPartition(), contractAddress);

            return(result);
        }