public IHttpActionResult GetAttributeListByActivityId(int activityId) { try { var customAttributeCollection = _workFlowRepository.GetAttributeListByActivityId(activityId); return(Ok(customAttributeCollection)); } catch (Exception ex) { _errorLog.LogException(ex); throw; } }