/// <summary> /// Getting Basket Related Products /// </summary> /// <param name="model"></param> /// <returns></returns> public ActionResult GetBasketRelatedProducts(string id) { var result = new List <ProductModel>(); if (!(string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())) { result = _basketApi.GetRelatedProducts(id)?.Result ?? new List <ProductModel>(); } return(JsonSuccess(result, JsonRequestBehavior.AllowGet)); }