public async Task <IActionResult> RemoveFromCart([FromBody] RemoveFromCartModel removeFromCartModel) { var cartResponse = await cartServices.removeFromCartAsync(removeFromCartModel); if (cartResponse.Status == "Error") { return(StatusCode(StatusCodes.Status400BadRequest, cartResponse.Message)); } return(Ok(new { cartResponse.CartId, cartResponse.CartPrice, cartResponse.CartCount, cartResponse.CartProducts, cartResponse.Message })); }