Ejemplo n.º 1
0
        public ActionResult IpdCountElderly()
        {
            IpdCountModel     model  = new IpdCountModel();
            IpdCountProviders IpdPro = new IpdCountProviders();

            model.TotalIpdPatient       = IpdPro.GetTotalIpdPatient();
            model.TotalIpdMalePatient   = IpdPro.GetTotalIpdMalePatient();
            model.TotalIpdFemalePatient = IpdPro.GetTotalIpdFemalePatient();
            return(View(model));
        }
Ejemplo n.º 2
0
        public ActionResult IpdCountElderly(string year, int month)
        {
            IpdCountModel     model  = new IpdCountModel();
            IpdCountProviders IpdPro = new IpdCountProviders();

            model = IpdPro.getjanuarycount(year, month);

            model.TotalIpdPatient = IpdPro.GetTotalIpdPatient();
            model.Year            = year;

            model.Month = month;
            model.TotalIpdMalePatient   = IpdPro.GetTotalIpdMalePatient();
            model.TotalIpdFemalePatient = IpdPro.GetTotalIpdFemalePatient();


            return(View(model));
        }