public void TestGetCouponByUserId() { int count = wheelService.GetCouponByUserId(testUserId).Count(); Assert.Equal(5, count); }
public IEnumerable <CouponViewModel> GetByUserId(string userId) { return(_wheelService.GetCouponByUserId(userId).Select(x => TransformModels.ToCouponViewModel(x))); }