Пример #1
0
        public async Task <bool> Delete(Guid userId, string collectionName)
        {
            if (userId == Guid.Empty)
            {
                throw new ArgumentException("Incorrect value", nameof(userId));
            }

            return(await repository.DeleteCollectionAsync(userId, collectionName));
        }