Пример #1
0
        public ActionResult ShowMyCoupon(int type = -1)
        {
            var loginUser = (UserInfo)ViewBag.User;
            var coupons   = _active.GetMyCoupons(loginUser.UserId, type);

            ViewBag.Coupons = coupons;
            ViewBag.TypeId  = type;
            return(View());
        }