public Lease GetLease(string pathToFile, string blobSasUri) { if (!string.IsNullOrWhiteSpace(blobSasUri)) { return(BlobLease.GetLease(pathToFile, blobSasUri)); } else { return(FileLease.GetLease(pathToFile)); } }