I agree with the above something like this would do it
CODE = UUID.Generate().ToString().Substring(0,CouponLength);
//Also check to make sure it has not been created already
I agree with the above something like this would do it
CODE = UUID.Generate().ToString().Substring(0,CouponLength);
//Also check to make sure it has not been created already