Example #1
0
        public virtual async Task <TEntity> CreateAsync(TEntity entity)
        {
            var tableEntity = _entityResolver.ToSourceType(entity);
            var tableResult = await _tableStorageProvider.CreateAsync(tableEntity);

            return(_entityResolver.ToTargetType(tableResult));
        }