public List <DiseaseWithSymptomModel> showdiagnoses(string patientName, int id1, int id2)
        {
            List <DiseaseWithSymptom> diseaseWithSymptoms = new List <DiseaseWithSymptom>();
            Business business = new Business();

            diseaseWithSymptoms = business.showdiagnoses(patientName, id1, id2);
            List <DiseaseWithSymptomModel> models = new List <DiseaseWithSymptomModel>();

            foreach (var diseaseWithSymp in diseaseWithSymptoms)
            {
                DiseaseWithSymptomModel symptomModel = new DiseaseWithSymptomModel();
                symptomModel.DsDisease                 = new DiseaseModel();
                symptomModel.DsDisease.DiseaseName     = diseaseWithSymp.DsDisease.DiseaseName;
                symptomModel.DsDisease.DiseaseSeverity = new SeverityModel();
                symptomModel.DsDisease.DiseaseSeverity.SeverityName = diseaseWithSymp.DsDisease.DiseaseSeverity.SeverityName;
                symptomModel.DsSymptom             = new SymptomModel();
                symptomModel.DsSymptom.SymptomName = diseaseWithSymp.DsSymptom.SymptomName;
                models.Add(symptomModel);
            }
            return(models);
        }