示例#1
0
        public HttpResponse Collection()
        {
            if (!IsUserSignedIn())
            {
                return(Redirect("/users/login"));
            }

            var userId    = GetUserId();
            var viewModel = cardsService.GetByUserId(userId);

            return(View(viewModel));
        }