public GetAllPropertiesQuery(GetAllPropertiesRequestQueryString propertiesRequestQueryString) { PropertiesRequestQueryString = propertiesRequestQueryString; }
public async Task <IActionResult> GetAll([FromQuery] GetAllPropertiesRequestQueryString requestQueryString) { var response = await Mediator.Send(new GetAllPropertiesQuery(requestQueryString)); return(Ok(response)); }