public ApiResult <bool> Update(Client model) { using (clientDal) { return(clientDal.Update(model)); } }
public bool Update(Client client, string phone)//用户修改信息 { return(dal.Update(client, phone) > 0); }