public IHttpActionResult SaveStatusDetails(StatusTypeAc status) { try { var statusdetails = _workFlowRepository.SaveStatusDetails(status); return(Ok(statusdetails)); } catch (Exception ex) { _errorLog.LogException(ex); throw; } }