/// <summary> /// Saves the specified entity. /// </summary> /// <param name="entity">The entity.</param> /// <returns>Task<FileStorageEntity>.</returns> public virtual async Task <FileStorageEntity> Save(FileStorageEntity entity) { await FormatStorageKey(entity); await _provider.Update(entity); return(entity); }