コード例 #1
0
 public ActionResult PostFeedback(FeedbackInformationRecord feedback) {
     if (feedback != null) {
         _commonDataService.CreateFeedbackRecord(feedback);
         return Json(new { Message = "" });
     }
     return Json(new { Message = "Failed" });
 }
コード例 #2
0
 public void CreateFeedbackRecord(FeedbackInformationRecord feedback)
 {
     feedback.DateCreated = DateTime.UtcNow;
     _feedbackInformationRepository.Create(feedback);
 }