Exemple #1
0
        public IEnumerable <Book> GetUserCartDetails(int id)
        {
            //// Check wheather the cart is already added in the orders table
            //if (IUserRepos.CheckCartInOrders(id))
            //    return null; // If the cart is added then the cart details should not be shown

            return(IUserRepos.GetUserCartDetails(id));
        }