public async Task <IActionResult> ListEquipments([FromQuery] EquipmentsQuery request) { try { var result = await _service.GetEquipments(request); return(Ok(result)); } catch (BusinessLogicException ex) { return(BadRequest(new Response { Status = false, Message = ex.Message })); } catch (Exception e) { return(BadRequest(new Response { Status = false, //Message = ErrorMessages.UnkownError Message = e.Message })); } }