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