public async Task <bool> DeletePetGalleryImage(string id, string imageId, string token, CancellationToken cancelationToken = default(CancellationToken)) { var address = PetGalleryUri.Replace("{id}", id) + $"/{imageId}"; return(await _restService.ExecuteDeleteAction(address, token, cancelationToken)); }
public async Task <bool> UploadPetGalleryImage(string id, string token, IEnumerable <IFormFile> files, CancellationToken cancelationToken = default(CancellationToken)) { var address = PetGalleryUri.Replace("{id}", id); return(await _restService.ExecutePostMultipartAction(address, files, id, token, cancelationToken)); }