Beispiel #1
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(TFXK.Model.Customers model)
 {
     model.loginPass = Security.EncryptPassword(model.loginPass, "MD5");
     return(dal.Add(model));
 }
 public IResult Add(Customers customer)
 {
     _Icustomersdal.Add(customer);
     return(new SuccessResult());
 }