public IActionResult AddToCart(int StoreId, int StoreItemId, int Quantity, double OrderItemPrice) { OrderItem oi = new OrderItem(); oi.StoreItemId = StoreItemId; oi.OrderItemQuantity = Quantity; oi.OrderItemPrice = OrderItemPrice; storeService.AddToCart(oi, StoreId, User.Identity.GetPersonId()); return(RedirectToAction("StoreItem", new { StoreId = StoreId, StoreItemId = StoreItemId })); }