예제 #1
0
        public HttpResponse All()
        {
            if (!IsUserSignedIn())
            {
                return(Redirect("/users/login"));
            }

            var db = new ApplicationDbContext();

            var cardsViewModel = cardsService.GetAll();

            return(View(cardsViewModel));
        }