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