Ejemplo n.º 1
0
        public string CommentLogo(CommentedLogo comment)
        {
            Common.Data.Comment newComent = new Common.Data.Comment {
                UserID      = comment.FromUserId,
                PhotoID     = comment.ToLogoId,
                Content     = comment.Content,
                CreatedDate = DateTime.Now
            };

            _homeDA.AddComment(newComent);
            return("success");
        }
Ejemplo n.º 2
0
        public ActionResult Comment(CommentedLogo data)
        {
            string response = _homeBL.CommentLogo(data);

            return(Json(response));
        }