Exemplo n.º 1
0
        public ActionResult FeedbackDetail(Guid?id)
        {
            IFeedBackManager feedBackManager = new FeedBackManager();

            ViewBag.FeedBack = feedBackManager.GetFeedBack(id.Value);
            return(View());
        }
Exemplo n.º 2
0
        public ActionResult FeedbackList()
        {
            List <FeedBackDTO> list;
            IFeedBackManager   feedBackManager = new FeedBackManager();

            list = feedBackManager.GetAllFeedBack();
            return(View(list));
        }
Exemplo n.º 3
0
        public ActionResult Feedback(FeedBackDTO feedBack)
        {
            Guid userId = Guid.Parse(Session["UserId"].ToString());

            feedBack.UserId = userId;
            IFeedBackManager feedBackManager = new FeedBackManager();

            feedBackManager.Relase(feedBack);
            return(View());
        }
Exemplo n.º 4
0
        public void TestMethod6()
        {
            IFeedBackManager feedBackManager = new FeedBackManager();

            feedBackManager.Relase(new Domain.DTO.FeedBackDTO()
            {
                Content = "(@^0^@)",
                Title   = "(T_T)",
                UserId  = Guid.Parse("d575d2d9-3a22-4465-9fe3-259ab0391988")
            });
        }