public async Task <List <WorkItemModel> > GetAllworkItems(string projectName, string searchText) { List <WorkItemModel> workItems = new List <WorkItemModel>(); try { workItems = await workItemManager.GetAllworkItems(projectName, searchText); } catch (Exception) { } return(workItems); }