public async Task GetAllDiscounts() { var result = await _service.GetAll(); Assert.IsNotNull(result); }
public async Task <ActionResult <IEnumerable <Discount> > > Get() { return(Ok(await _service.GetAll())); }
public async Task GetAllDiscounts() { var result = await _service.GetAll(); Assert.IsNotNull(result); }
public async Task <ActionResult <IEnumerable <Discount> > > Get() { return(Ok(await _service.GetAll())); }