public IHttpActionResult GetAllActivityList() { try { var permissionCollection = _workFlowRepository.GetAllActivityList(); return(Ok(permissionCollection)); } catch (Exception ex) { _errorLog.LogException(ex); throw; } }