예제 #1
0
        public async Task <bool> EntryCheck(Cart cart, Models.Check check)
        {
            try
            {
                string userId = User.Identity.GetUserId();
                check.refUser = userId;
                bool result = await checkManager.EntryCheck(cart, check);

                if (result)
                {
                    cart.Clear();
                }
                return(result);
            }
            catch (Exception ex)
            {
            }
            return(false);
        }