Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static async Task <bool> CreateBucket(BucketObject bucketObject) { #if MOCK return(await Task.FromResult(true)); #else var bucketManager = new BucketManager(_currentMac, _config); var queryResult = await Task.Factory.StartNew(() => bucketManager.Create(bucketObject.Name, bucketObject.Region)); return(queryResult.Code == 200); #endif }