Exemple #1
0
 public ActionResult OrderWidget()
 {
     try
     {
         if (Request.Cookies["MemberLoginCookie"] != null)
         {
             HttpCookie          reqCookies = Request.Cookies["MemberLoginCookie"];
             ResponseMemberLogin login      = JsonConvert.DeserializeObject <ResponseMemberLogin>(reqCookies.Value.ToString().UrlDecode());
             var result = _orderBusiness.GetByMember(login.ID);
             return(PartialView(result));
         }
         return(PartialView());
     }
     catch (Exception)
     {
         return(PartialView());
     }
 }