public bool SaveWorkAddress(long userID, string address) { if (string.IsNullOrEmpty(address)) { throw new UnProcessableException("地址不能为空!"); } return(_userDapper.SaveWorkAddress(userID, address)); }
public bool SaveWorkAddress(long userID, string address) { if (string.IsNullOrEmpty(address)) { throw new UnProcessableException("地址不能为空!"); } var success = _userDapper.SaveWorkAddress(userID, address); RefreshUserCache(userID); return(success); }