コード例 #1
0
 public static Task <HttpResponseMessage> PostPhotoBlob(PhotoBlobModel photoBlob, string photoTitle) =>
 PostObjectToAPI($"{BackendConstants.PostPhotoBlobUrl}{photoTitle}{BackendConstants.PostPhotoBlobFunctionKey}", photoBlob);
コード例 #2
0
 public static Task <PhotoModel> PostPhotoBlob(PhotoBlobModel photoBlob, string photoTitle) => ExecutePollyFunction(() => PhotosApiClient.PostPhotoBlob(photoBlob, photoTitle, BackendConstants.PostPhotoBlobFunctionKey));
コード例 #3
0
 public static Task <PhotoModel> PostPhotoBlob(PhotoBlobModel photoBlob, string photoTitle) =>
 PostObjectToAPI <PhotoModel, PhotoBlobModel>($"{BackendConstants.PostPhotoBlobUrl}/{photoTitle}?code={BackendConstants.PostPhotoBlobFunctionKey}", photoBlob);