public void TestExchangeCoupon() { var result = wheelService.ExchangeCoupon("ASDFG12345", testUserId); Assert.True(result); }
public bool Exchange(string code) { var userId = HttpContext.Current.User.Identity.GetUserId(); return(_wheelService.ExchangeCoupon(code, userId)); }