public JsonResult sendreportson(int userid, int reportid, string message, string date)
 {
     if (userid != 0 && reportid != 0 && message != null)
     {
         TArticleReportSon son = new TArticleReportSon();
         son.UserId          = userid;
         son.ArticleReportId = reportid;
         son.ReportContent   = message;
         son.ReportTime      = date;
         db.TArticleReportSons.Add(son);
         db.SaveChanges();
         return(Json(new { result = true }));
     }
     else
     {
         return(Json(new { result = false }));
     }
 }
 public reportson_ViewModel()
 {
     iv_reportson = new TArticleReportSon();
 }
 public reportson_ViewModel(TArticleReportSon c, string Name, string image)
 {
     iv_reportson = c;
     UserName     = Name;
     UserPhoto    = image;
 }
 public reportson_ViewModel(TArticleReportSon c)
 {
     iv_reportson = c;
 }