public static Result SaveRemote(string picUrl, int userId) { logger.Info("picUrl:" + picUrl); logger.Info("userId:" + userId); Result result = new Result(); AvatarSaver aSaver = new AvatarNetSaver(picUrl); return(savePicCommon(aSaver, userId, result, sys.Path.DiskAvatar)); }
public static Result SaveRemote( string picUrl, int userId ) { logger.Info( "picUrl:" + picUrl ); logger.Info( "userId:" + userId ); Result result = new Result(); AvatarSaver aSaver = new AvatarNetSaver( picUrl ); return savePicCommon( aSaver, userId, result, sys.Path.DiskAvatar ); }