示例#1
0
        public HttpResponse RemoveFromCollection(string cardId)
        {
            if (!User.IsAuthenticated)
            {
                return(Redirect("/Users/Login"));
            }

            CardsService.RemoveCardFromColleection(this.User.Id, cardId);

            return(Redirect("/Cards/All"));
        }