Beispiel #1
0
 public void Relase(FeedBackDTO feedBack)
 {
     using (IFeedBackService feedBackService = new FeedBackService())
     {
         feedBackService.Create(FeedBackDTOToFeedBack(feedBack));
     }
 }
Beispiel #2
0
 public FeedBack FeedBackDTOToFeedBack(FeedBackDTO feedBack)
 {
     return(new FeedBack()
     {
         Content = feedBack.Content,
         Title = feedBack.Title,
         UserId = feedBack.UserId
     });
 }
Beispiel #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());
        }
Beispiel #4
0
 public void Edit(FeedBackDTO feedback)
 {
     throw new NotImplementedException();
 }