Beispiel #1
0
 public static FeedbackInfo Create(FeedbackInfo model)
 {
     if (model.Id == 0)
     {
         int id = FeedbackManage.Add(model);
         model.Id = id;
     }
     return(model);
 }
Beispiel #2
0
 public static int Post(FeedbackInfo model)
 {
     return(FeedbackManage.Add(model));
 }