public List <WorkItem> GetWorkItemsByStatus(int statusId) { try { var workItems = _workItemRepository.FindByStatus(statusId); return(workItems); } catch (Exception e) { throw new Exception(e.Message); } }