public async Task <IActionResult> GetAllOpenByUser(int userId) { var result = await _workOrderRepository.GetAllOpenByUser(userId); return(Ok(result)); }