Ignore:
Timestamp:
05/12/22 16:36:14 (2 years ago)
Author:
Danilo <danilo.najkov@…>
Branches:
master
Children:
cc4db18
Parents:
7a983b0
Message:

prototype final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resTools_backend/backend/Controllers/ReservationsController.cs

    r7a983b0 rd76b7ee  
    2020    }
    2121
     22    [Authorize]
     23    [HttpGet()]
     24    public async Task<List<ReservationResponse>> GetReservations([FromQuery] DateTime from, [FromQuery] DateTime to)
     25    {
     26        return await _reservationService.GetReservatins(from, to);
     27    }
     28
    2229    [HttpPost()]
    2330    public async Task<IActionResult> CreateReservation([FromBody] CreateReservationRequest req)
Note: See TracChangeset for help on using the changeset viewer.