public async Task OnGetAsync() { var offers = await _offerService.GetAllAsync <Offer>(); Offers = offers; System.Console.WriteLine(); }
public async Task <IActionResult> GetAll() { var offers = await _service.GetAllAsync(); return(Ok(offers)); }
public async Task OnGetAsync() { var offers = await _offerService.GetAllAsync <Offer>(); Offers = offers; System.Console.WriteLine(); }
public async Task <IActionResult> GetAll() { var offers = await _service.GetAllAsync(); return(Ok(offers)); }