public int AddData(T_FixedAssetsModel model) { int i = 0; for (int k = 1; k <= model.CreateNum; k++) { i = this.Add(model.ToModel()); } return(i); }
public int EditData(T_FixedAssetsModel model) { return(this.Edit(model.ToModel())); }