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)); }
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)); }