public void TestGetAllCoupons() { int count = wheelService.GetAllCoupons().Count(); Assert.Equal(5, count); }
public IEnumerable <CouponViewModel> GetAll() { return(_wheelService.GetAllCoupons().Select(x => TransformModels.ToCouponViewModel(x))); }