public ApiResponse <bool> AddToCart(int productId, CurrencyTypeName CurrencyName) { var deviceNo = GetDeviceNo(); var isSave = _productServices.AddToCart(productId, CurrencyName, deviceNo); if (isSave == true) { return(ApiUtility.ApiSuccess <bool>(isSave, "Item added to cart")); } return(ApiUtility.ApiSuccess <bool>(isSave, "Failed !!!")); }