// GET: Diseases/Create
        public async Task <ActionResult> Create()
        {
            var vm = new DiseaseCreateEditViewModel
            {
                SymtomsSelectList = new MultiSelectList(await _symptomService.GetAllAsync(), nameof(Symptom.SymptomId), nameof(Symptom.SymptomName))
            };

            return(View(vm));
        }
        public async Task <IActionResult> Symptoms()
        {
            var vm = new DiagnoseSymtomsViewModel
            {
                Symptoms = await _symptomService.GetAllAsync()
            };

            return(View(vm));
        }
 public async Task <List <SymptomDTO> > GetSymptomsAsync()
 {
     return(await _symptomService.GetAllAsync());
 }
 // GET: Symptoms
 public async Task <ActionResult> Index()
 {
     return(View(await _symptomService.GetAllAsync()));
 }