예제 #1
0
        public async Task <Response> GetCart(string cookie)
        {
            var response_Account = await accountBal.GetAccountByCookie(cookie);

            if (response_Account.Status is true)
            {
                return(await cartBal.GetCart((response_Account.Obj as Account).Id));
            }
            else
            {
                return(new Response("Cannot recognize an account!", false, 0, null));
            }
        }
예제 #2
0
 public async Task <Response> GetAccountInfo(string cookie)
 {
     return(await accountBal.GetAccountByCookie(cookie));
 }