コード例 #1
0
        /// <summary>
        /// Saves the specified entity.
        /// </summary>
        /// <param name="entity">The entity.</param>
        /// <returns>Task&lt;FileStorageEntity&gt;.</returns>
        public virtual async Task <FileStorageEntity> Save(FileStorageEntity entity)
        {
            await FormatStorageKey(entity);

            await _provider.Update(entity);

            return(entity);
        }