Example #1
0
        public async Task GetAllDiscounts()
        {
            var result = await _service.GetAll();

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