public List <Carts> GetCartItems(int customerId) { var cartItem = cartRepo.GetCartItemByCustomerId(customerId); return(cartItem.ToList()); }