GetHotels([FromQuery] GetHostHotelsQuery query)
 => await this.Send(query);
Beispiel #2
0
 public Task <IEnumerable <HostHotelsDto> > Handle(GetHostHotelsQuery request, CancellationToken cancellationToken)
 => this._hotelRepository.GetHotels <HostHotelsDto>(this._userContext.UserId);