Ejemplo n.º 1
0
 public GetAllPropertiesQuery(GetAllPropertiesRequestQueryString propertiesRequestQueryString)
 {
     PropertiesRequestQueryString = propertiesRequestQueryString;
 }
Ejemplo n.º 2
0
        public async Task <IActionResult> GetAll([FromQuery] GetAllPropertiesRequestQueryString requestQueryString)
        {
            var response = await Mediator.Send(new GetAllPropertiesQuery(requestQueryString));

            return(Ok(response));
        }