コード例 #1
0
        public async Task <ActionResult> FilterWarehouses([FromBody] FilterSorting filterSorting)
        {
            // Filtering warehouse query by calling method that will filter it
            var newWarehouse = await WarehouseService.FilterWarehouses(filterSorting);

            // Returning filtered warehouse list
            return(Ok(newWarehouse));
        }