Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fernirteam committed May 4, 2024
1 parent cfeecc1 commit 4ad3cf6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions server/Booking.Api/Controllers/v1/AdvertsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public async Task<IActionResult> GetAll(
[FromQuery] int? maxCost = null,
[FromQuery] int? singleBeds = null,
[FromQuery] int? doubleBeds = null,
[FromQuery] bool? wifi = null,
[FromQuery] bool? pets = null,
[FromQuery] bool? tv = null,
[FromQuery] bool? refrigerator = null,
[FromQuery] bool? kitchen = null,
[FromQuery] bool? washer = null,
[FromQuery] bool? heating = null,
[FromQuery] bool? dryer = null
[FromQuery] bool? Wifi = null,
[FromQuery] bool? PetsAllowed = null,
[FromQuery] bool? TV = null,
[FromQuery] bool? Refrigerator = null,
[FromQuery] bool? Kitchen = null,
[FromQuery] bool? Washer = null,
[FromQuery] bool? Heating = null,
[FromQuery] bool? Dryer = null
)
{
return Ok(await mediator.Send(new AdvertsQueries.GetAll.Request(
Expand All @@ -79,14 +79,14 @@ public async Task<IActionResult> GetAll(
maxCost,
singleBeds,
doubleBeds,
wifi,
pets,
tv,
refrigerator,
kitchen,
washer,
heating,
dryer
Wifi,
PetsAllowed,
TV,
Refrigerator,
Kitchen,
Washer,
Heating,
Dryer
)));
}

Expand Down

0 comments on commit 4ad3cf6

Please sign in to comment.