Example #1
0
        public async Task <IActionResult> GetSeoDuplicates(string objectId, string objectType)
        {
            var seoDuplicates = await _seoService.GetAllSeoDuplicatesAsync();

            var retVal = _seoDuplicateDetector.DetectSeoDuplicates(objectType, objectId, seoDuplicates);

            return(Ok(retVal.ToArray()));
        }
        public IHttpActionResult GetSeoDuplicates(string objectId, string objectType)
        {
            var retVal = _seoDuplicateDetector.DetectSeoDuplicates(objectType, objectId, _commerceService.GetAllSeoDuplicates());

            return(Ok(retVal.ToArray()));
        }