예제 #1
0
        public IActionResult GetAllDiseases()
        {
            log.Info("DiseaseController::GetAllDiseases. Retrieving all entries of diseases.");

            var diseases = _service.GetAllDiseases();

            return(Ok(Mapper.Map <IEnumerable <DiseaseView> >(diseases)));
        }