public IHttpActionResult GetAllWorkFlowList() { try { var currentUser = HttpContext.Current.User.Identity.GetUserId(); var getWorkFlow = _workFlowRepository.GetAllWorkFlowList(currentUser); return(Ok(getWorkFlow)); } catch (Exception ex) { _errorLog.LogException(ex); throw; } }