public async Task <IActionResult> GetSeoDuplicates(string objectId, string objectType) { var seoDuplicates = await _seoService.GetAllSeoDuplicatesAsync(); var retVal = await _seoDuplicateDetector.DetectSeoDuplicatesAsync(objectType, objectId, seoDuplicates); return(Ok(retVal.ToArray())); }
public async Task <ActionResult <SeoInfo[]> > GetSeoDuplicates(string objectId, string objectType) { var result = await _seoDuplicateDetector.DetectSeoDuplicatesAsync(new TenantIdentity(objectId, objectType)); return(Ok(result.ToArray())); }