Beispiel #1
0
 public async Task <IActionResult> GetPricesAsync(int id)
 {
     return(await _pricesService.GetPricesAsync(id));
 }
        public async Task <IActionResult> GetPricesAsync(int id, int pageIndex, int pageSize)
        {
            PricesPageViewModel pricesPageViewModel = await _pricesService.GetPricesAsync(id, pageIndex, pageSize);

            return(new OkObjectResult(pricesPageViewModel));
        }