public SearchResults SearchUrl(string imageUrl) { DownloadResult downloadResult = ImgDownload.Download(imageUrl); if (downloadResult.image != null) { return(SearchImage(downloadResult.image)); } return(null); }
public VoyImageResult SearchUrl(string imageUrl) { DownloadResult downloadResult = ImgDownload.Download(imageUrl); if (downloadResult.image != null) { return(SearchMat(downloadResult.image)); } return(VoyImageResult.Invalid()); }