public IActionResult GetWorkFlowForPatient(int patientId)
        {
            var workflow = _patientInfoRepository.GetWorkFlowsForPatients(patientId);

            if (workflow == null)
            {
                return(NotFound());
            }

            var workflowResult = Mapper.Map <IEnumerable <WorkFlowDTO> >(workflow);

            return(Ok(workflowResult));
        }